aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Geis <[email protected]>2022-06-10 09:25:42 -0400
committerHeiko Stuebner <[email protected]>2022-06-11 17:09:49 +0200
commit2881a4ab319918e775ec9c084da3d6cc15ad77ab (patch)
treea32b1af1039ea5a10459800c58bb6d95b40b2e8d
parent16bc4d196b2a8960cac3bdfd4c98d72c44ab043b (diff)
arm64: dts: rockchip: Fix Quartz64-A dwc3 otg port behavior
The otg_id line on the Quartz64 Model A is not connected to anything. This prevents automatic selection of the dual role usb port. In otg mode it defaults to device mode. Force it to host mode to retain previous behavior. Fixes: bc405bb3eeee ("arm64: dts: rockchip: enable otg/drd operation of usb_host0_xhci in rk356x") Signed-off-by: Peter Geis <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
index 1534e11a9ad1..fa953b736642 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
@@ -687,6 +687,7 @@
};
&usb_host0_xhci {
+ dr_mode = "host";
status = "okay";
};