arm64: dts: rockchip: fix upper usb port on BPI-R2-Pro
authorFrank Wunderlich <frank-w@public-files.de>
Sun, 21 Aug 2022 12:19:29 +0000 (14:19 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 23 Aug 2022 12:34:06 +0000 (14:34 +0200)
- extcon is no more needed in 5.19 - so drop it
  commit 51a9b2c03dd3 ("phy: rockchip-inno-usb2: Handle ID IRQ")
- dr_mode was changed from host to otg in rk356x.dtsi
  commit bc405bb3eeee ("arm64: dts: rockchip: enable otg/drd
    operation of usb_host0_xhci in rk356x")
  change it back on board level as id-pin on r2pro is not connected

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Link: https://lore.kernel.org/r/20220821121929.244112-1-linux@fw-web.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts

index 5e34bd0..93d383b 100644 (file)
 };
 
 &usb_host0_xhci {
-       extcon = <&usb2phy0>;
+       dr_mode = "host";
        status = "okay";
 };