ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / mt7621_afoundry_ew1200.dts
index 877b8d7d9d453226d04383f1917f25693dcdb5b9..c0166c730aed78b096423a4658c22d60502b371c 100644 (file)
                bootargs = "console=ttyS0,57600";
        };
 
-       palmbus: palmbus@1E000000 {
-               i2c@900 {
-                       status = "okay";
-               };
-       };
-
        keys {
                compatible = "gpio-keys";
 
        };
 };
 
-&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";