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 <william.wu@rock-chips.com>
Change-Id: I93515735360ff3e8966d1628978498f59f812f58
This commit is contained in:
William Wu
2022-03-22 16:03:42 +08:00
committed by Tao Huang
parent 4d5e7c1061
commit 4618c48e2e

View File

@@ -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";
};