ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / mt7621_firefly_firewrt.dts
index 57318f369483a00083af70607d950b59bac0095d..10b33993ac8d10f10af5dd0164e32cf94669e273 100644 (file)
        };
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&factory 0xe000>;
 };
 
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "lan1";
+               };
+
+               port@1 {
+                       status = "okay";
+                       label = "lan2";
+               };
+
+               port@2 {
+                       status = "okay";
+                       label = "lan3";
+               };
+
+               port@3 {
+                       status = "okay";
+                       label = "lan4";
+               };
+
+               port@4 {
+                       status = "okay";
+                       label = "wan";
+                       mtd-mac-address = <&factory 0xe000>;
+                       mtd-mac-address-increment = <1>;
+               };
+       };
+};
+
 &state_default {
        gpio {
                groups = "wdt", "rgmii2";