ramips: remove model name from LED labels
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7621_iodata_wnpr2600g.dts
index b49bfd785ade984b5cf38ad9c072a943fbecb911..0e808f6894103c28bb737635a7791cc0562a9b09 100644 (file)
@@ -1,5 +1,4 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
 
 #include "mt7621.dtsi"
 
                led-upgrade = &led_power;
        };
 
-       chosen {
-               bootargs = "console=ttyS0,57600";
-       };
-
        leds {
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "wnpr2600g:green:power";
+                       label = "green:power";
                        gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
 
                notification {
-                       label = "wnpr2600g:green:notification";
+                       label = "green:notification";
                        gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
                };
 
                wlan2g {
-                       label = "wnpr2600g:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0radio";
                };
 
                wlan5g {
-                       label = "wnpr2600g:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy1radio";
                };
        };
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&factory 0x4>;
-       mediatek,portmap = "wllll";
+};
+
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "wan";
+               };
+
+               port@1 {
+                       status = "okay";
+                       label = "lan4";
+               };
+
+               port@2 {
+                       status = "okay";
+                       label = "lan3";
+               };
+
+               port@3 {
+                       status = "okay";
+                       label = "lan2";
+               };
+
+               port@4 {
+                       status = "okay";
+                       label = "lan1";
+               };
+       };
 };
 
 &state_default {
        gpio {
-               ralink,group = "uart2", "uart3", "jtag", "wdt";
-               ralink,function = "gpio";
+               groups = "uart2", "uart3", "jtag", "wdt";
+               function = "gpio";
        };
 };