summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/WR6202.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/WR6202.dts')
-rw-r--r--target/linux/ramips/dts/WR6202.dts16
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/WR6202.dts b/target/linux/ramips/dts/WR6202.dts
index a970849e31..1e41756d5a 100644
--- a/target/linux/ramips/dts/WR6202.dts
+++ b/target/linux/ramips/dts/WR6202.dts
@@ -102,14 +102,14 @@
status = "okay";
};
- gpio_export {
- compatible = "gpio-export";
- #size-cells = <0>;
+ usb0: gpio-regulator {
+ compatible = "regulator-gpio";
- usb {
- gpio-export,name = "usb";
- gpio-export,output = <0>;
- gpios = <&gpio0 11 0>;
- };
+ regulator-name = "usb0-power";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ regulator-boot-on;
+
+ enable-gpio = <&gpio0 11 0>;
};
};