ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7621_zbtlink_zbt-wg3526.dtsi
index 69779976339e13e5a19f3e2ee7deb2da47a16b00..9728119adf1e03eba7f6fb2b785224d7f4ecad2b 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", "jtag", "mdio";