led-failsafe = &led_status_yellow;
led-running = &led_status_blue;
led-upgrade = &led_status_yellow;
+ label-mac-device = &wan;
};
chosen {
};
};
-ðernet {
+&gmac0 {
mtd-mac-address = <&factory 0xe000>;
- mediatek,portmap = "llllw";
+};
+
+&switch0 {
+ ports {
+ port@2 {
+ status = "okay";
+ label = "lan2";
+ };
+
+ port@3 {
+ status = "okay";
+ label = "lan1";
+ };
+ wan: port@4 {
+ status = "okay";
+ label = "wan";
+ mtd-mac-address = <&factory 0xe006>;
+ };
+ };
};
&state_default {