// 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";
};
};
};
-ðernet {
+&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";
};
};