mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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:
@@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user