From 4618c48e2eb208959c6b7fdb1c659f54f241d82d Mon Sep 17 00:00:00 2001 From: William Wu Date: Tue, 22 Mar 2022 16:03:42 +0800 Subject: [PATCH] ARM: dts: rockchip: only support usb device mode for rv1106 evb2 The RV1106 EVB2 USB pwren gpio is shared with EMMC, and it should be first used for EMMC. So set usb to device only mode. Signed-off-by: William Wu Change-Id: I93515735360ff3e8966d1628978498f59f812f58 --- arch/arm/boot/dts/rv1106g-evb2-v10.dts | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts/rv1106g-evb2-v10.dts b/arch/arm/boot/dts/rv1106g-evb2-v10.dts index beb067892380..ee251ec0e307 100644 --- a/arch/arm/boot/dts/rv1106g-evb2-v10.dts +++ b/arch/arm/boot/dts/rv1106g-evb2-v10.dts @@ -11,27 +11,8 @@ / { model = "Rockchip RV1106G EVB2 V10 Board"; compatible = "rockchip,rv1106g-evb2-v10", "rockchip,rv1106"; - - vcc5v0_usb: vcc5v0-usb { - compatible = "regulator-fixed"; - regulator-name = "vcc5v0_usb"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - enable-active-high; - gpio = <&gpio4 RK_PA0 GPIO_ACTIVE_HIGH>; - pinctrl-names = "default"; - pinctrl-0 = <&usb_pwren>; - }; }; -&pinctrl { - usb { - usb_pwren: usb-pwren { - rockchip,pins = <4 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; -}; - -&u2phy_otg { - vbus-supply = <&vcc5v0_usb>; +&usbdrd_dwc3 { + dr_mode = "peripheral"; };