ralink: fixup devicetree files to work with new ethernet driver
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / OY-0001.dts
index 48b7099296761c598f6370e1282ab45e332c1bbc..978c111dacac3e7908e41406b7e7a90b13e1bb31 100644 (file)
@@ -6,9 +6,9 @@
        compatible = "ralink,mt7620a-soc";
        model = "OY-0001";
 
-        chosen {
-                bootargs = "console=ttyS0,115200";
-        };
+       chosen {
+               bootargs = "console=ttyS0,115200";
+       };
 
        palmbus@10000000 {
                gpio2: gpio@660 {
        ethernet@10100000 {
                pinctrl-names = "default";
                pinctrl-0 = <&ephy_pins>;
-
-               ralink,port-map = "llllw";
+               mediatek,portmap = "llllw";
        };
 
        gsw@10110000 {
-               ralink,port4 = "ephy";
+               mediatek,port4 = "ephy";
        };
 
        wmac@10180000 {
 
        gpio-leds {
                compatible = "gpio-leds";
+
                powerled {
-                       label = "oy:green:power";
+                       label = "oy-0001:green:power";
                        gpios = <&gpio0 9 1>;
                };
+
                wifiled {
-                       label = "oy:green:wifi";
+                       label = "oy-0001:green:wifi";
                        gpios = <&gpio3 0 1>;
                };
        };
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                s1 {
                        label = "reset";
                        gpios = <&gpio0 1 1>;