ralink: update patches
[oweals/openwrt.git] / target / linux / ramips / dts / DIR-645.dts
index 8f80d4f503ad57c319ab2a69226717d1f793d69f..960d2cb352bc06897a11dcdb6dd05540acfa2ca5 100644 (file)
@@ -6,10 +6,6 @@
        compatible = "DIR-645", "ralink,rt3883-soc";
        model = "D-Link DIR-645";
 
-       memorydetect {
-               ralink,memory = <0x0 0x200000 0x10000000>;
-       };
-
        palmbus@10000000 {
                sysc@0 {
                        ralink,pinmux = "uartlite", "spi";
                status = "okay";
 
                mtd-mac-address = <&factory 0x28>;
-               ralink,fixed-link = <1000 1 1 1>;
+               port@0 {
+                       ralink,fixed-link = <1000 1 1 0>;
+               };
+
        };
 
        wmac@10180000 {
                };
        };
 
-       gpio_export {
-               compatible = "gpio-export";
-               #size-cells = <0>;
+       usb0: gpio-regulator {
+               compatible = "regulator-gpio";
 
-               usb {
-                       gpio-export,name = "usb";
-                       gpio-export,output = <1>;
-                       gpios = <&gpio1 6 0>;
-               };
+               regulator-type = "voltage";
+               regulator-name = "usb-power";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+               regulator-boot-on;
+
+               enable-active-high;
+               enable-gpio = <&gpio1 6 0>;
        };
 };