aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/MPRA2.dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-06-24 11:09:50 +0000
committerJohn Crispin <john@openwrt.org>2013-06-24 11:09:50 +0000
commitdca18caa7907c23348add2d088f3b799260d2821 (patch)
tree0070e9cd41f7868d43e0d71d16a16e9f0245aa31 /target/linux/ramips/dts/MPRA2.dts
parenteecce5abadbb9662d8724dfc1d247cb1d884976f (diff)
downloadupstream-dca18caa7907c23348add2d088f3b799260d2821.tar.gz
upstream-dca18caa7907c23348add2d088f3b799260d2821.tar.bz2
upstream-dca18caa7907c23348add2d088f3b799260d2821.zip
ramips: revert gpio regulator dts update
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37021
Diffstat (limited to 'target/linux/ramips/dts/MPRA2.dts')
-rw-r--r--target/linux/ramips/dts/MPRA2.dts34
1 files changed, 13 insertions, 21 deletions
diff --git a/target/linux/ramips/dts/MPRA2.dts b/target/linux/ramips/dts/MPRA2.dts
index 9f8edb6296..8fb226b748 100644
--- a/target/linux/ramips/dts/MPRA2.dts
+++ b/target/linux/ramips/dts/MPRA2.dts
@@ -103,27 +103,19 @@
};
};
- 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 7 0>;
- };
-
- hub0: gpio-regulator {
- compatible = "regulator-gpio";
-
- regulator-name = "hub0-power";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- regulator-boot-on;
+ gpio_export {
+ compatible = "gpio-export";
+ #size-cells = <0>;
- enable-active-high;
- enable-gpio = <&gpio0 12 0>;
+ usb {
+ gpio-export,name = "usb";
+ gpio-export,output = <1>;
+ gpios = <&gpio0 7 0>;
+ };
+ root_hub {
+ gpio-export,name = "root_hub";
+ gpio-export,output = <1>;
+ gpios = <&gpio0 12 0>;
+ };
};
};