[PATCH 9/9] arm64: dts: amlogic: t7: add the USB3 PHY

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


The first USB controller of the Amlogic T7 has a USB 3 port, but its
PHY is not described. USB 3 devices on that port connect only at high
speed, and the SuperSpeed root hub stays empty.

The PHY is the USB3 + PCIe combo PHY, used here in USB 3 mode. It runs
from the 100MHz PCIe reference clock.

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

diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
index 72bfcf77afcb..46e5f380a272 100644
--- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
+++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
@@ -4,6 +4,7 @@
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/phy/phy.h>
 #include <dt-bindings/power/amlogic,t7-pwrc.h>
 #include "amlogic-t7-reset.h"
 #include <dt-bindings/clock/amlogic,t7-scmi.h>
@@ -267,8 +268,8 @@ usb0: usb at fde00000 {
 			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";
+			phys = <&usb2_phy0>, <&usb3_pcie_phy PHY_TYPE_USB3>;
+			phy-names = "usb2-phy", "usb3-phy";
 			usb2-lpm-disable;
 			status = "disabled";
 		};
@@ -672,6 +673,20 @@ usb2_phy1: phy at 3e000 {
 				#phy-cells = <0>;
 			};
 
+			usb3_pcie_phy: phy at 62000 {
+				compatible = "amlogic,t7-usb3-pcie-phy";
+				reg = <0x0 0x62000 0x0 0x2000>,
+				      <0x0 0x3a080 0x0 0x20>;
+				clocks = <&pcie CLKID_PCIE_PLL>;
+				clock-names = "ref_clk";
+				resets = <&reset RESET_PCIE1_PHY>,
+					 <&reset RESET_PCIE1_APB>;
+				reset-names = "phy", "apb";
+				assigned-clocks = <&pcie CLKID_PCIE_PLL>;
+				assigned-clock-rates = <100000000>;
+				#phy-cells = <1>;
+			};
+
 			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