diff options
author | John Crispin <john@openwrt.org> | 2013-06-24 11:09:50 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-06-24 11:09:50 +0000 |
commit | dca18caa7907c23348add2d088f3b799260d2821 (patch) | |
tree | 0070e9cd41f7868d43e0d71d16a16e9f0245aa31 /target/linux/ramips/dts/OMNI-EMB-HPM.dts | |
parent | eecce5abadbb9662d8724dfc1d247cb1d884976f (diff) | |
download | mtk-20170518-dca18caa7907c23348add2d088f3b799260d2821.zip mtk-20170518-dca18caa7907c23348add2d088f3b799260d2821.tar.gz mtk-20170518-dca18caa7907c23348add2d088f3b799260d2821.tar.bz2 |
ramips: revert gpio regulator dts update
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37021
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 875df14..8148294 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>; + }; }; }; |