From dcb9d29dbffcc965faf51981aae936155cfd1673 Mon Sep 17 00:00:00 2001 From: Jianqun Xu Date: Thu, 17 Nov 2022 17:04:54 +0800 Subject: [PATCH] ARM: dts: rockchip: rk3288-evb add rockchip-relinquish-port quirk for ehci This adds force abnormal ohci relinquish port owner and back to ehci on rk3288 SoC. Change-Id: I33be55c08762be7e8a239f741a8c8dbb28522306 Signed-off-by: Frank Wang Signed-off-by: Jianqun Xu --- arch/arm/boot/dts/rk3288-evb.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index 03d9c5f0533c..e3dad0f2502a 100644 --- a/arch/arm/boot/dts/rk3288-evb.dtsi +++ b/arch/arm/boot/dts/rk3288-evb.dtsi @@ -197,6 +197,15 @@ regulator-boot-on; }; + vcc_otg_vbus: otg-vbus-regulator { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&otg_vbus_drv>; + regulator-name = "vcc_otg_vbus"; + }; + vcc_phy: vcc-phy-regulator { compatible = "regulator-fixed"; enable-active-high; @@ -447,6 +456,10 @@ host_vbus_drv: host-vbus-drv { rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; }; + + otg_vbus_drv: otg-bus-drv { + rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; + }; }; eth_phy { @@ -461,6 +474,11 @@ }; &usb_host0_ehci { + rockchip-relinquish-port; + status = "okay"; +}; + +&usb_host0_ohci { status = "okay"; }; @@ -468,6 +486,11 @@ status = "okay"; }; +&usb_otg { + vbus-supply = <&vcc_otg_vbus>; + status = "okay"; +}; + &vopb { status = "okay"; };