X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FOMNI-EMB-HPM.dts;h=8148294893bdacc3553edfc26384ecb4a25fd53b;hp=875df14c660889cf2eb46c4a12c9ee187eb82a2c;hb=a7d049b5fc101e5620e41ee0944e6a78def62cb4;hpb=7091ed25bc74660777d8a4498905cc1d78fd7eea diff --git a/target/linux/ramips/dts/OMNI-EMB-HPM.dts b/target/linux/ramips/dts/OMNI-EMB-HPM.dts index 875df14c66..8148294893 100644 --- a/target/linux/ramips/dts/OMNI-EMB-HPM.dts +++ b/target/linux/ramips/dts/OMNI-EMB-HPM.dts @@ -131,28 +131,19 @@ }; }; - /* gpio 12 and 13 handle the OC input */ - usb0: gpio-regulator { - compatible = "regulator-gpio"; - - regulator-name = "usb0-power"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-boot-on; - - enable-active-high; - enable-gpio = <&gpio0 2 0>; - }; - - usb1: gpio-regulator { - compatible = "regulator-gpio"; - - regulator-name = "usb1-power"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-boot-on; - - enable-active-high; - enable-gpio = <&gpio0 1 0>; + gpio_export { + compatible = "gpio-export"; + #size-cells = <0>; + /* gpio 12 and 13 handle the OC input */ + usb0 { + gpio-export,name = "usb0"; + gpio-export,output = <1>; + gpios = <&gpio0 2 0>; + }; + usb1 { + gpio-export,name = "usb1"; + gpio-export,output = <1>; + gpios = <&gpio0 1 0>; + }; }; };