compatible = "WR6202", "ralink,rt3052-soc";
model = "AWB WR6202";
- memorydetect {
- ralink,memory = <0x0 0x200000 0x4000000>;
- };
-
chosen {
bootargs = "console=ttyS0,115200";
};
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>;
};
};