summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/OMNI-EMB-HPM.dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-06-23 15:50:49 +0000
committerJohn Crispin <john@openwrt.org>2013-06-23 15:50:49 +0000
commit55fb6f3a05deb4a8b5e600cc10bae9555a9f90be (patch)
treea2ef24cfc434f5eb47364d944947588c5d51fc69 /target/linux/ramips/dts/OMNI-EMB-HPM.dts
parent43a3d87b8370872c5720b4bb6616b797486d38d8 (diff)
downloadmaster-31e0f0ae-55fb6f3a05deb4a8b5e600cc10bae9555a9f90be.tar.gz
master-31e0f0ae-55fb6f3a05deb4a8b5e600cc10bae9555a9f90be.tar.bz2
master-31e0f0ae-55fb6f3a05deb4a8b5e600cc10bae9555a9f90be.zip
ralink: update patches
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37016
Diffstat (limited to 'target/linux/ramips/dts/OMNI-EMB-HPM.dts')
-rw-r--r--target/linux/ramips/dts/OMNI-EMB-HPM.dts37
1 files changed, 23 insertions, 14 deletions
diff --git a/target/linux/ramips/dts/OMNI-EMB-HPM.dts b/target/linux/ramips/dts/OMNI-EMB-HPM.dts
index 8148294893..875df14c66 100644
--- a/target/linux/ramips/dts/OMNI-EMB-HPM.dts
+++ b/target/linux/ramips/dts/OMNI-EMB-HPM.dts
@@ -131,19 +131,28 @@
};
};
- 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>;
- };
+ /* 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>;
};
};