[PATCH 08/10] arm64: dts: amlogic: meson-s4: add the USB host
From: christian . koever-draxl
Date: Fri Nov 06 2026 - 05:51:16 EST
From: Christian Stefan Kövér-Draxl <ckoever@xxxxxxxxxx>
Add the two USB2 PHYs and the USB glue with its xHCI host controller.
The S4 has no USB3 PHY, so the host runs USB2 only.
Signed-off-by: Christian Stefan Kövér-Draxl <ckoever@xxxxxxxxxx>
---
arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 45 +++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
index 8bbd70e52a29..155997649dc3 100644
--- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
@@ -770,6 +770,26 @@ cpu_temp: temperature-sensor@20000 {
amlogic,secure-monitor = <&sm 1>;
};
+ usb2_phy0: phy@3c000 {
+ compatible = "amlogic,s4-usb2-phy";
+ reg = <0x0 0x3c000 0x0 0x2000>;
+ clocks = <&xtal>;
+ clock-names = "xtal";
+ resets = <&reset RESET_USBPHY20>;
+ reset-names = "phy";
+ #phy-cells = <0>;
+ };
+
+ usb2_phy1: phy@3e000 {
+ compatible = "amlogic,s4-usb2-phy";
+ reg = <0x0 0x3e000 0x0 0x2000>;
+ clocks = <&xtal>;
+ clock-names = "xtal";
+ resets = <&reset RESET_USBPHY21>;
+ reset-names = "phy";
+ #phy-cells = <0>;
+ };
+
eth_phy: mdio-multiplexer@28000 {
compatible = "amlogic,g12a-mdio-mux";
reg = <0x0 0x28000 0x0 0xa4>;
@@ -988,6 +1008,31 @@ mdio0: mdio {
};
};
+ usb: usb@fe03a000 {
+ compatible = "amlogic,meson-s4-usb-ctrl",
+ "amlogic,meson-g12a-usb-ctrl";
+ reg = <0x0 0xfe03a000 0x0 0xa0>;
+ interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+ clocks = <&clkc_periphs CLKID_USB>;
+ resets = <&reset RESET_USBCTRL>;
+ power-domains = <&pwrc PWRC_S4_USB_COMB_ID>;
+ dr_mode = "host";
+ phys = <&usb2_phy0>, <&usb2_phy1>;
+ phy-names = "usb2-phy0", "usb2-phy1";
+ status = "disabled";
+
+ crg_xhci: usb@fde00000 {
+ compatible = "generic-xhci";
+ reg = <0x0 0xfde00000 0x0 0x100000>;
+ interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clkc_periphs CLKID_USB1_TO_DDR>;
+ status = "okay";
+ };
+ };
+
uart_a: serial@fe078000 {
compatible = "amlogic,meson-s4-uart",
"amlogic,meson-ao-uart";
--
2.56.0