[PATCH 5/6] ARM: dts: zte: Declare nodes to enable the board's dwc2 controller

From: Stefan Dösinger

Date: Fri Nov 20 2026 - 14:21:49 EST


This adds the socsys syscon that provides the power control for the
controller and the dwc2 controller itself.

On all boards I have seen so far the USB connector can only operate in
peripheral mode - including one device that actually has a USB A
connector. DWC2 and the PHY can be programmed into host mode, but there
is no VBUS power supply.

Signed-off-by: Stefan Dösinger <stefandoesinger@xxxxxxxxx>
---
arch/arm/boot/dts/zte/zx297520v3.dtsi | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

diff --git a/arch/arm/boot/dts/zte/zx297520v3.dtsi b/arch/arm/boot/dts/zte/zx297520v3.dtsi
index ebac3cd137df..2fc888b10006 100644
--- a/arch/arm/boot/dts/zte/zx297520v3.dtsi
+++ b/arch/arm/boot/dts/zte/zx297520v3.dtsi
@@ -5,6 +5,8 @@

#include <dt-bindings/clock/zte,zx297520v3-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/phy/zte,zx297520v3-topcrm.h>
+#include <dt-bindings/power/zte,zx297520v3-socsys.h>
#include <dt-bindings/reset/zte,zx297520v3-reset.h>

/ {
@@ -111,6 +113,13 @@ reboot {
};
};

+ socsys: syscon@140000 {
+ compatible = "zte,zx297520v3-socsys", "syscon";
+ reg = <0x00140000 0x400>;
+ #power-domain-cells = <1>;
+ #reset-cells = <1>;
+ };
+
matrixcrm: clock-controller@1306000 {
compatible = "zte,zx297520v3-matrixcrm";
reg = <0x01306000 0x400>;
@@ -176,5 +185,19 @@ uart2: serial@140d000 {

status = "disabled";
};
+
+ usb@1500000 {
+ compatible = "snps,dwc2";
+ reg = <0x01500000 0x40000>;
+ interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&topcrm ZX297520V3_USB_WCLK>, <&topcrm ZX297520V3_USB_PCLK>;
+ clock-names = "otg", "utmi";
+ dr_mode = "peripheral";
+ resets = <&topcrm ZX297520V3_USB_RESET>;
+ reset-names = "dwc2";
+ power-domains = <&socsys ZX297520V3_PD_USB>;
+ phys = <&topcrm ZX297520V3_USB_PHY>;
+ phy-names = "usb2-phy";
+ };
};
};

--
2.56.1