rockchip: nanopi-r4s: Enable second usb port and fix crash
authorJustin Klaassen <justin@tidylabs.net>
Fri, 31 Jan 2025 17:06:13 +0000 (17:06 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 28 Feb 2025 11:15:21 +0000 (19:15 +0800)
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@fe380000: USB EHCI 1.00
Bus usb@fe3c0000: "Synchronous Abort" handler, esr 0x96000010, far 0x0

Signed-off-by: Justin Klaassen <justin@tidylabs.net>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi

index 69800cc..931499b 100644 (file)
@@ -36,3 +36,8 @@
                };
        };
 };
+
+&u2phy1_host {
+       phy-supply = <&vdd_5v>;
+       status = "okay";
+};