]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: Fix Quartz64-A dwc3 otg port behavior
authorPeter Geis <pgwipeout@gmail.com>
Fri, 10 Jun 2022 13:25:42 +0000 (09:25 -0400)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 11 Jun 2022 15:09:49 +0000 (17:09 +0200)
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 <pgwipeout@gmail.com>
Link: https://lore.kernel.org/r/20220610132542.159978-1-pgwipeout@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts

index 1534e11a9ad17373bb77de632bccc5aaae80f346..fa953b73664218328882b8dd7c559a9afea2f935 100644 (file)
 };
 
 &usb_host0_xhci {
+       dr_mode = "host";
        status = "okay";
 };