[PATCH 5/9] arm64: dts: amlogic: t7: add the USB controllers

Lucas Tanure tanure at linux.com
Sun Nov 29 01:28:06 PST 2026


The two USB controllers of the Amlogic T7 and the USB 2 PHYs of their
ports are not described, so no T7 board can use USB.

The USB 3 PHY of usb0 is not described yet, so it runs at USB 2.0
speed; usb1 has no USB 3 port. USB 2 link power management stays off,
as in the vendor kernel. The nodes stay disabled because the board
decides which ports are wired and how they are powered.

Signed-off-by: Lucas Tanure <tanure at linux.com>
---
 arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 48 +++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
index 52e106d931db..72bfcf77afcb 100644
--- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
+++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
@@ -247,6 +247,32 @@ soc {
 		#size-cells = <2>;
 		ranges;
 
+		usb1: usb at fdd00000 {
+			compatible = "amlogic,t7-usb";
+			reg = <0x0 0xfdd00000 0x0 0x8000>;
+			interrupts = <GIC_SPI 131 IRQ_TYPE_EDGE_RISING>;
+			clocks = <&clkc_periphs CLKID_SYS_USB>;
+			resets = <&reset RESET_USB>, <&reset RESET_U2DRD>;
+			power-domains = <&pwrc PWRC_T7_USB_COMB_ID>;
+			phys = <&usb2_phy1>;
+			phy-names = "usb2-phy";
+			usb2-lpm-disable;
+			status = "disabled";
+		};
+
+		usb0: usb at fde00000 {
+			compatible = "amlogic,t7-usb";
+			reg = <0x0 0xfde00000 0x0 0x8000>;
+			interrupts = <GIC_SPI 130 IRQ_TYPE_EDGE_RISING>;
+			clocks = <&clkc_periphs CLKID_SYS_USB>;
+			resets = <&reset RESET_USB>, <&reset RESET_U3DRD>;
+			power-domains = <&pwrc PWRC_T7_USB_COMB_ID>;
+			phys = <&usb2_phy0>;
+			phy-names = "usb2-phy";
+			usb2-lpm-disable;
+			status = "disabled";
+		};
+
 		gic: interrupt-controller at fff01000 {
 			compatible = "arm,gic-400";
 			#interrupt-cells = <3>;
@@ -624,6 +650,28 @@ gpio_intc: interrupt-controller at 4080 {
 					<10 11 12 13 14 15 16 17 18 19 20 21>;
 			};
 
+			usb2_phy0: phy at 3c000 {
+				compatible = "amlogic,t7-usb2-phy";
+				reg = <0x0 0x3c000 0x0 0x2000>,
+				      <0x0 0x3a000 0x0 0x20>;
+				clocks = <&xtal>;
+				clock-names = "xtal";
+				resets = <&reset RESET_U2PHY20>;
+				reset-names = "phy";
+				#phy-cells = <0>;
+			};
+
+			usb2_phy1: phy at 3e000 {
+				compatible = "amlogic,t7-usb2-phy";
+				reg = <0x0 0x3e000 0x0 0x2000>,
+				      <0x0 0x3a020 0x0 0x20>;
+				clocks = <&xtal>;
+				clock-names = "xtal";
+				resets = <&reset RESET_U2PHY21>;
+				reset-names = "phy";
+				#phy-cells = <0>;
+			};
+
 			uart_a: serial at 78000 {
 				compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart";
 				reg = <0x0 0x78000 0x0 0x18>;
-- 
2.56.1




More information about the linux-arm-kernel mailing list