diff options
Diffstat (limited to 'target/linux/ramips/dts/DIR-645.dts')
-rw-r--r-- | target/linux/ramips/dts/DIR-645.dts | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/target/linux/ramips/dts/DIR-645.dts b/target/linux/ramips/dts/DIR-645.dts index 960d2cb352..e5ccb40ec6 100644 --- a/target/linux/ramips/dts/DIR-645.dts +++ b/target/linux/ramips/dts/DIR-645.dts @@ -128,16 +128,13 @@ }; }; - usb0: gpio-regulator { - compatible = "regulator-gpio"; - - regulator-type = "voltage"; - regulator-name = "usb-power"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-boot-on; - - enable-active-high; - enable-gpio = <&gpio1 6 0>; + gpio_export { + compatible = "gpio-export"; + #size-cells = <0>; + usb { + gpio-export,name = "usb"; + gpio-export,output = <1>; + gpios = <&gpio1 6 0>; + }; }; }; |