[PATCH 5.10 137/215] arm64: dts: rockchip: Enable USB3 for rk3328 Rock64

From: Greg Kroah-Hartman
Date: Thu Jul 15 2021 - 15:00:02 EST


From: Cameron Nemo <cnemo@xxxxxxxxxxxx>

commit bbac8bd65f5402281cb7b0452c1c5f367387b459 upstream.

Enable USB3 nodes for the rk3328-based PINE Rock64 board.

The separate power regulator is not added as it is controlled by the
same GPIO line as the existing VBUS regulators, so it is already
enabled. Also there is no port representation to tie the regulator to.

[wens@xxxxxxxx: Rebased onto v5.12]

Signed-off-by: Cameron Nemo <cnemo@xxxxxxxxxxxx>
[wens@xxxxxxxx: Rewrote commit message]
Signed-off-by: Chen-Yu Tsai <wens@xxxxxxxx>
Link: https://lore.kernel.org/r/20210504083616.9654-2-wens@xxxxxxxxxx
Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 5 +++++
1 file changed, 5 insertions(+)

--- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts
@@ -384,6 +384,11 @@
status = "okay";
};

+&usbdrd3 {
+ dr_mode = "host";
+ status = "okay";
+};
+
&usb_host0_ehci {
status = "okay";
};