ramips: mt7621: fix Ubiquiti ER-X ports names and MAC addresses
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_ubiquiti_edgerouterx.dtsi
index 6fed4a0b7bfabf675d0d4863081ef0022c53a822..b10953f45ef47f2cb1530943ff94bd145b1ad17f 100644 (file)
 
 &gmac0 {
        mtd-mac-address = <&factory 0x22>;
+       label = "dsa";
 };
 
 &switch0 {
        ports {
                port@0 {
                        status = "okay";
-                       label = "wan";
-                       mtd-mac-address = <&factory 0x22>;
-                       mtd-mac-address-increment = <1>;
+                       label = "eth0";
                };
 
                port@1 {
                        status = "okay";
-                       label = "lan1";
+                       label = "eth1";
+                       mtd-mac-address = <&factory 0x22>;
+                       mtd-mac-address-increment = <1>;
                };
 
                port@2 {
                        status = "okay";
-                       label = "lan2";
+                       label = "eth2";
+                       mtd-mac-address = <&factory 0x22>;
+                       mtd-mac-address-increment = <2>;
                };
 
                port@3 {
                        status = "okay";
-                       label = "lan3";
+                       label = "eth3";
+                       mtd-mac-address = <&factory 0x22>;
+                       mtd-mac-address-increment = <3>;
                };
 
                port@4 {
                        status = "okay";
-                       label = "lan4";
+                       label = "eth4";
+                       mtd-mac-address = <&factory 0x22>;
+                       mtd-mac-address-increment = <4>;
                };
        };
 };