Add nodes for the MMC, AIC, ADC, CODEC, MUSB, LCD, memory,
and BCH controllers.
Signed-off-by: Paul Cercueil
Tested-by: Artur Rojek
---
arch/mips/boot/dts/ingenic/jz4740.dtsi | 84 ++
1 file changed, 84 insertions(+)
diff --git a/arch/mips/boot/dts/ingenic/jz4740.dtsi
b/arch/mips/boot/dts/ingenic/jz4740.dtsi
index 3ffaf63f22dd..bceabf494af5 100644
--- a/arch/mips/boot/dts/ingenic/jz4740.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4740.dtsi
@@ -132,6 +132,35 @@
};
};
+ aic: audio-controller@1002 {
+ compatible = "ingenic,jz4740-i2s";
+ reg = <0x1002 0x38>;
+
+ #sound-dai-cells = <0>;
+
+ interrupt-parent = <>;
+ interrupts = <18>;
+
+ clocks = < JZ4740_CLK_AIC>,
+< JZ4740_CLK_I2S>,
+< JZ4740_CLK_EXT>,
+< JZ4740_CLK_PLL_HALF>;
+ clock-names = "aic", "i2s", "ext", "pll half";
+
+ dmas = < 25 0x>, < 24 0x>;
+ dma-names = "rx", "tx";
+ };
+
+ codec: audio-codec@100200a4 {
+ compatible = "ingenic,jz4740-codec";
+ reg = <0x10020080 0x8>;
+
+ #sound-dai-cells = <0>;
+
+ clocks = < JZ4740_CLK_AIC>;
+ clock-names = "aic";
+ };
+
mmc: mmc@10021000 {
compatible = "ingenic,jz4740-mmc";
reg = <0x10021000 0x1000>;
@@ -172,6 +201,38 @@
clock-names = "baud", "module";
};
+ adc: adc@1007 {
+ compatible = "ingenic,jz4740-adc";
+ reg = <0x1007 0x30>;
+ #io-channel-cells = <1>;
+
+ clocks = < JZ4740_CLK_ADC>;
+ clock-names = "adc";
+
+ interrupt-parent = <>;
+ interrupts = <12>;
+ };
+
+ nemc: memory-controller@1301 {
+ compatible = "ingenic,jz4740-nemc";
+ reg = <0x1301 0x54>;
+ #address-cells = <2>;
+ #size-cells = <1>;
+ ranges = <1 0 0x1800 0x400
+ 2 0 0x1400 0x400
+ 3 0 0x0c00 0x400
+ 4 0 0x0800 0x400>;
+
+ clocks = < JZ4740_CLK_MCLK>;
+ };
+
+ ecc: ecc-controller@13010100 {
+ compatible = "ingenic,jz4740-ecc";
+ reg = <0x13010100 0x2C>;
+
+ clocks = < JZ4740_CLK_MCLK>;
+ };
+
dmac: dma-controller@1302 {
compatible = "ingenic,jz4740-dma";
reg = <0x1302 0xbc
@@ -197,4 +258,27 @@
status = "disabled";
};
+
+ udc: usb@1304 {
+ compatible = "ingenic,jz4740-musb";
+ reg = <0x1304 0x1>;
+
+ interrupt-parent = <>;
+ interrupts = <24>;
+ interrupt-names = "mc";
+
+ clocks = < JZ4740_CLK_UDC>;
+ clock-names = "udc";
+ };
+
+ lcd: lcd-controller@1305 {
+ compatible = "ingenic,jz4740-lcd";
+ reg = <0x1305 0x1000>;
+
+ interrupt-parent = <>;
+ interrupts = <30>;
+
+ clocks = < JZ4740_CLK_LCD_PCLK>, < JZ4740_CLK_LCD>;
+ clock-names = "lcd_pclk", "lcd";
+ };
};
--
2.21.0.593.g511ec345e18