ralink: update patches
[openwrt/openwrt.git] / target / linux / ramips / dts / WR6202.dts
index a385db7b282aa552880f44a149dc16dbc127d5d8..1e41756d5ab01abfd10184c6b7732ccdf3bcb65c 100644 (file)
@@ -6,10 +6,6 @@
        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>;
        };
 };