mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
57 lines
1.2 KiB
Diff
57 lines
1.2 KiB
Diff
|
From af7ec140ddc1815bc462109792d95bcad05cfbc4 Mon Sep 17 00:00:00 2001
|
||
|
From: Sebastian Reichel <sebastian.reichel@collabora.com>
|
||
|
Date: Tue, 9 Apr 2024 00:50:36 +0200
|
||
|
Subject: [PATCH] arm64: dts: rockchip: add upper USB3 port to rock-5a
|
||
|
|
||
|
Enable full support (XHCI, EHCI, OHCI) for the upper USB3 port from
|
||
|
Radxa Rock 5 Model A. The lower one is already supported.
|
||
|
|
||
|
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
|
||
|
Link: https://lore.kernel.org/r/20240408225109.128953-10-sebastian.reichel@collabora.com
|
||
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
||
|
---
|
||
|
.../boot/dts/rockchip/rk3588s-rock-5a.dts | 18 ++++++++++++++++++
|
||
|
1 file changed, 18 insertions(+)
|
||
|
|
||
|
--- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
|
||
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
|
||
|
@@ -698,6 +698,14 @@
|
||
|
};
|
||
|
};
|
||
|
|
||
|
+&u2phy0 {
|
||
|
+ status = "okay";
|
||
|
+};
|
||
|
+
|
||
|
+&u2phy0_otg {
|
||
|
+ status = "okay";
|
||
|
+};
|
||
|
+
|
||
|
&u2phy2 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
@@ -721,6 +729,11 @@
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
+&usbdp_phy0 {
|
||
|
+ status = "okay";
|
||
|
+ rockchip,dp-lane-mux = <2 3>;
|
||
|
+};
|
||
|
+
|
||
|
&usb_host0_ehci {
|
||
|
status = "okay";
|
||
|
pinctrl-names = "default";
|
||
|
@@ -731,6 +744,11 @@
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
+&usb_host0_xhci {
|
||
|
+ dr_mode = "host";
|
||
|
+ status = "okay";
|
||
|
+};
|
||
|
+
|
||
|
&usb_host1_ehci {
|
||
|
status = "okay";
|
||
|
};
|