[PATCH 1/5] arm: dts: mt8516: add support for USB

Fabien Parent fparent at baylibre.com
Fri Oct 16 17:40:05 CEST 2020


Add support for USB on mt8516 based SoC.

Signed-off-by: Fabien Parent <fparent at baylibre.com>
---
 arch/arm/dts/mt8516.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/dts/mt8516.dtsi b/arch/arm/dts/mt8516.dtsi
index 1c3358208614..c4577ceea386 100644
--- a/arch/arm/dts/mt8516.dtsi
+++ b/arch/arm/dts/mt8516.dtsi
@@ -123,6 +123,20 @@
 		status = "disabled";
 	};
 
+	usb0: usb at 11100000 {
+		compatible = "mediatek,mt8516-musb",
+			     "mediatek,mt8518-musb";
+		reg = <0x11100000 0x1000>;
+		interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_LOW>;
+		interrupt-names = "mc";
+		clocks = <&topckgen CLK_TOP_USB_PHY48M>,
+			 <&topckgen_cg CLK_TOP_USBIF>,
+			 <&topckgen_cg CLK_TOP_USB>,
+			 <&topckgen_cg CLK_TOP_USB_1P>;
+		clock-names = "usbpll", "usbmcu", "usb", "icusb";
+		status = "disabled";
+	};
+
 	uart0: serial at 11005000 {
 		compatible = "mediatek,hsuart";
 		reg = <0x11005000 0x1000>;
-- 
2.28.0



More information about the U-Boot mailing list