diff options
Diffstat (limited to 'target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts')
-rw-r--r-- | target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts index 6229d40913..43a4b42d82 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts @@ -104,6 +104,18 @@ gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; }; }; + + usb_vbus: regulator-usb-vbus { + compatible = "regulator-fixed"; + + regulator-name = "USB_VBUS"; + + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + + gpio = <&gpio 36 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; }; &gpio { @@ -151,7 +163,12 @@ }; }; +&usb_phy0 { + status = "okay"; + phy-supply = <&usb_vbus>; +}; + + &usb0 { status = "okay"; - gpios = <&gpio 36 GPIO_ACTIVE_HIGH>; }; |