[PATCH 09/15] arm64: dts: rockchip: add lower USB3 port to opi5max
Jimmy Hon
honyuenkwun at gmail.com
Sat Oct 26 02:48:25 PDT 2024
Enable full support (XHCI) for the lower USB3 port from Orange Pi 5 Max.
the vcc5v0_usb30 regulator shares the same enable gpio pin as the
vcc5v0_usb20 regulator.
Signed-off-by: Jimmy Hon <honyuenkwun at gmail.com>
---
.../dts/rockchip/rk3588-orangepi-5-max.dts | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dts
index be4af5006d69..f32e5827dce6 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dts
@@ -111,6 +111,8 @@ vcc5v0_sys: vcc5v0-sys-regulator {
};
/* Represents the vcc5v0_usb20 in the schematic */
+ /* Also represents the vcc5v0_usb30 in the schematic,
+ both regulators share the same enable gpio */
vcc5v0_host: vcc5v0-host-regulator {
compatible = "regulator-fixed";
enable-active-high;
@@ -634,6 +636,15 @@ &tsadc {
status = "okay";
};
+&u2phy1 {
+ status = "okay";
+};
+
+&u2phy1_otg {
+ phy-supply = <&vcc5v0_host>;
+ status = "okay";
+};
+
&u2phy2 {
status = "okay";
};
@@ -657,6 +668,10 @@ &uart2 {
status = "okay";
};
+&usbdp_phy1 {
+ status = "okay";
+};
+
&usb_host0_ehci {
status = "okay";
};
@@ -672,3 +687,8 @@ &usb_host1_ehci {
&usb_host1_ohci {
status = "okay";
};
+
+&usb_host1_xhci {
+ dr_mode = "host";
+ status = "okay";
+};
--
2.47.0
More information about the Linux-rockchip
mailing list