[Letux-kernel] [PATCH 1/5] DTS: MIPS: JZ4780: add EHCI/OHCI

H. Nikolaus Schaller hns at goldelico.com
Wed Sep 16 10:11:54 CEST 2020


unsure if we need this

Signed-off-by: H. Nikolaus Schaller <hns at goldelico.com>
---
 arch/mips/boot/dts/ingenic/jz4780.dtsi | 40 ++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi
index 9f219e1babcbd7..ce0260a69e7dbb 100644
--- a/arch/mips/boot/dts/ingenic/jz4780.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi
@@ -256,6 +256,25 @@ spidev at 0 {
 		};
 	};
 
+	i2s: i2s at 10020000 {
+		compatible = "ingenic,jz4780-i2s";
+		reg = <0x10020000 0x94>;
+
+		clocks = <&cgu JZ4780_CLK_AIC>, <&cgu JZ4780_CLK_I2SPLL>;
+		clock-names = "aic", "i2s";
+
+		dmas = <&dma 0 JZ4780_DMA_I2S0_RX 0xffffffff>, <&dma JZ4780_DMA_I2S0_TX 0 0xffffffff>;
+		dma-names = "rx" , "tx";
+	};
+
+	codec: codec at 100200a4 {
+		compatible = "ingenic,jz4780-codec";
+		reg = <0x100200a4 0x8>;
+
+		clocks = <&cgu JZ4780_CLK_I2SPLL>;
+		clock-names = "i2s";
+	};
+
 	uart0: serial at 10030000 {
 		compatible = "ingenic,jz4780-uart";
 		reg = <0x10030000 0x100>;
@@ -516,6 +535,27 @@ mmc1: mmc at 13460000 {
 		status = "disabled";
 	};
 
+	ehci: jz4780-ehci at 0x13490000 {
+		compatible = "ingenic,jz4780-ehci";
+		reg = <0x13490000 0x10000>;
+
+		interrupt-parent = <&intc>;
+		interrupts = <20>;
+
+		clocks = <&cgu JZ4780_CLK_UHC>;
+	};
+
+	ohci: jz4780-ohci at 0x134a0000 {
+		compatible = "ingenic,jz4780-ohci";
+		reg = <0x134a0000 0x10000>;
+
+		interrupt-parent = <&intc>;
+		interrupts = <5>;
+
+		clocks = <&cgu JZ4780_CLK_UHC>;
+		clock-names = "uhc";
+	};
+
 	bch: bch at 134d0000 {
 		compatible = "ingenic,jz4780-bch";
 		reg = <0x134d0000 0x10000>;
-- 
2.26.2



More information about the Letux-kernel mailing list