diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-06-24 11:09:50 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-06-24 11:09:50 +0000 |
commit | a7d049b5fc101e5620e41ee0944e6a78def62cb4 (patch) | |
tree | aa623f9c6d507404c6ae36a95829ecd2f7095ab2 /target/linux/ramips/dts/OMNI-EMB-HPM.dts | |
parent | 7091ed25bc74660777d8a4498905cc1d78fd7eea (diff) |
ramips: revert gpio regulator dts update
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37021 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts/OMNI-EMB-HPM.dts')
-rw-r--r-- | target/linux/ramips/dts/OMNI-EMB-HPM.dts | 37 |
1 files changed, 14 insertions, 23 deletions
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>; + }; }; }; |