ramips: mt7621 remove unused pinctrl groups in dts
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_zbtlink_zbt-wg2626.dts
index d1cf30880adfa011cb1896d4e134ee696a6f2c17..5e8e250432216f4229b60f5616cdd01dd3f21cf0 100644 (file)
@@ -31,7 +31,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
@@ -41,7 +41,7 @@
 
                led_status: status {
                        label = "zbt-wg2626:green:status";
-                       gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
                };
        };
 };
        };
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&factory 0xe000>;
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "wdt", "rgmii2", "jtag", "mdio";
-                       ralink,function = "gpio";
+&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";
+               function = "gpio";
+       };
+};