diff options
Diffstat (limited to 'target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi')
-rw-r--r-- | target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi index d64ffa7115..b6ea1080a4 100644 --- a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi +++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi @@ -37,14 +37,14 @@ }; }; - reg_usb_vbus: reg_usb_vbus { - compatible = "regulator-fixed"; - - regulator-name = "usb_vbus"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - gpio = <&gpio 2 GPIO_ACTIVE_HIGH>; - enable-active-high; + gpio-export { + compatible = "gpio-export"; + + gpio_usb_power { + gpio-export,name = "usb_power"; + gpio-export,output = <1>; + gpios = <&gpio 2 GPIO_ACTIVE_HIGH>; + }; }; leds { @@ -144,7 +144,6 @@ &usb0 { #address-cells = <1>; #size-cells = <0>; - vbus-supply = <®_usb_vbus>; status = "okay"; }; |