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

H. Nikolaus Schaller hns at goldelico.com
Fri Sep 25 22:53:09 CEST 2020


(and accidentially i2s / codec)

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

diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi
index 19ad5f1ee00fc..653006df6d2d2 100644
--- a/arch/mips/boot/dts/ingenic/jz4780.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi
@@ -577,6 +577,38 @@ mmc1: mmc at 13460000 {
 		status = "disabled";
 	};
 
+	usb_phy: usb_phy {
+		compatible = "usb-nop-xceiv";
+		#phy-cells = <0>;
+	};
+
+	ehci: ehci at 0x13490000 {
+		compatible = "ingenic,jz4780-ehci", "generic-ehci";
+		reg = <0x13490000 0x10000>;
+
+		interrupt-parent = <&intc>;
+		interrupts = <20>;
+
+		clocks = <&cgu JZ4780_CLK_UHC>;
+
+		phys = <&usb_phy>;
+//		phy-names = "usb2-phy";
+	};
+
+	ohci: ohci at 0x134a0000 {
+		compatible = "ingenic,jz4780-ohci", "generic-ohci";
+		reg = <0x134a0000 0x10000>;
+
+		interrupt-parent = <&intc>;
+		interrupts = <5>;
+
+		clocks = <&cgu JZ4780_CLK_UHC>;
+		clock-names = "uhc";
+
+		phys = <&usb_phy>;
+//		phy-names = "usb2-phy";
+	};
+
 	bch: bch at 134d0000 {
 		compatible = "ingenic,jz4780-bch";
 		reg = <0x134d0000 0x10000>;
-- 
2.26.2



More information about the Letux-kernel mailing list