ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / mt7621_mediatek_ap-mt7621a-v60.dts
index 4a225d81c4ba8d21786eb5220a0b97a2f7981f64..731eb4d8e2c0d5c2d53b0723410fe8a3abd0d3c4 100644 (file)
        status = "okay";
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&factory 0x5>;
 };
 
+&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 0x5>;
+                       mtd-mac-address-increment = <1>;
+               };
+       };
+};
+
 &pcie {
        status = "okay";
 };