ramips: fix MikroTik 750Gr3 LAN ports names
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_mikrotik_rb750gr3.dts
index ebb6585c91c7699641631aa0c3502f4f47752397..e268b233d477a6986b7f33f91b14197140bbc8d2 100644 (file)
        };
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&hard_config 0x0010>;
        mtd-mac-address-increment = <1>;
 };
 
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "wan";
+                       mtd-mac-address = <&hard_config 0x0010>;
+                       mtd-mac-address-increment = <2>;
+               };
+
+               port@1 {
+                       status = "okay";
+                       label = "lan2";
+               };
+
+               port@2 {
+                       status = "okay";
+                       label = "lan3";
+               };
+
+               port@3 {
+                       status = "okay";
+                       label = "lan4";
+               };
+
+               port@4 {
+                       status = "okay";
+                       label = "lan5";
+               };
+       };
+};
+
 &state_default {
        gpio {
                /* via gpio7 (uart3 group) the PoE status can be read */
-               ralink,group = "uart2", "uart3", "jtag", "wdt";
-               ralink,function = "gpio";
+               groups = "uart2", "uart3", "jtag", "wdt";
+               function = "gpio";
        };
 };