};
};
-ðernet {
+&gmac0 {
mtd-mac-address = <&hard_config 0x0010>;
mtd-mac-address-increment = <1>;
};
+&switch0 {
+ ports {
+ port@0 {
+ status = "okay";
+ label = "wan";
+ mtd-mac-address = <&hard_config 0x0010>;
+ mtd-mac-address-increment = <2>;
+ };
+
+ port@1 {
+ status = "okay";
+ label = "lan2";
+ };
+
+ port@2 {
+ status = "okay";
+ label = "lan3";
+ };
+
+ port@3 {
+ status = "okay";
+ label = "lan4";
+ };
+
+ port@4 {
+ status = "okay";
+ label = "lan5";
+ };
+ };
+};
+
&state_default {
gpio {
/* via gpio7 (uart3 group) the PoE status can be read */
- ralink,group = "uart2", "uart3", "jtag", "wdt";
- ralink,function = "gpio";
+ groups = "uart2", "uart3", "jtag", "wdt";
+ function = "gpio";
};
};