[PATCH] arm64: dts: rockchip: enable the USB 3.0 host ports on Orange Pi 5 Plus
Mihail Chichkanov
mihail75rezh at mail.ru
Sat Nov 21 11:02:08 PST 2026
The two blue USB 3.0 Type-A ports on the Orange Pi 5 Plus are wired to the
usb_host1_xhci controller (usb at fc400000) and its PHYs (u2phy1 / u2phy1_otg and
usbdp_phy1). All of them are left disabled in rk3588-extra.dtsi, and the board
file only enables usb_host1_ehci/ohci, so the SuperSpeed ports are dead: no
5 V is switched on, nothing ever shows up on the bus, and there is not a single
line in the kernel log when something is plugged in. The USB 2.0 ports work.
Enable the whole chain for that port:
- u2phy1 and its otg-port, with phy-supply pointing at vcc5v0_usb20, which the
board file already describes (a 5 V rail switched via gpio3 RK_PB7). Without
phy-supply the controller comes up but the port stays unpowered.
- usbdp_phy1, which is used by nothing else on this board.
- usb_host1_xhci itself, with dr_mode = "host". The default in the .dtsi is
"otg", but this connector is a host-only Type-A port; the Type-C connector is
a separate controller (usb_host0_xhci / usbdp_phy0).
The other SuperSpeed host controller, usb_host2_xhci (usb at fcd00000), is
deliberately left alone: its PHY (phy at fee20000) is shared with pcie at fe180000,
which on this board is the Ethernet port.
Tested on an Orange Pi 5 Plus (rk3588, root on NVMe/SD, ALT Linux userland):
with this patch a USB audio DAC and a USB 3.0 hub enumerate on the blue ports,
the hub's SuperSpeed root hub reports 5000 Mbit/s, and the USB 2.0 ports keep
working.
Signed-off-by: Mihail Chichkanov <mihail75rezh at mail.ru>
---
.../dts/rockchip/rk3588-orangepi-5-plus.dts | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
index dd4c79b..aee1b13 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
@@ -852,3 +852,21 @@
&usb_host1_ohci {
status = "okay";
};
+
+&u2phy1 {
+ status = "okay";
+};
+
+&u2phy1_otg {
+ phy-supply = <&vcc5v0_usb20>;
+ status = "okay";
+};
+
+&usbdp_phy1 {
+ status = "okay";
+};
+
+&usb_host1_xhci {
+ dr_mode = "host";
+ status = "okay";
+};
--
2.50.1
More information about the Linux-rockchip
mailing list