[PATCH] rockchip: nanopi-r4s: Enable second usb port and fix crash

Justin Klaassen justin at tidylabs.net
Fri Jan 31 18:06:13 CET 2025


The patch enables the second USB3.0 Type-A USB port on the NanoPi R4S
board, which prevents a crash when initializing the usb system in U-Boot
and allows both Type-A USB ports to be used for booting.

=> usb start
starting USB...
Bus usb at fe380000: USB EHCI 1.00
Bus usb at fe3c0000: "Synchronous Abort" handler, esr 0x96000010, far 0x0

Signed-off-by: Justin Klaassen <justin at tidylabs.net>

---

 arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi b/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi
index 69800cc368d..931499b084c 100644
--- a/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi
@@ -36,3 +36,8 @@
 		};
 	};
 };
+
+&u2phy1_host {
+	phy-supply = <&vdd_5v>;
+	status = "okay";
+};
-- 
2.45.3



More information about the U-Boot mailing list