ralink: update patches
[openwrt.git] / target / linux / ramips / dts / DIR-645.dts
index e0b3752..960d2cb 100644 (file)
                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>;
        };
 };