aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi35
1 files changed, 33 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi b/target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi
index ba0853d3ca..0b9e7c6626 100644
--- a/target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi
+++ b/target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi
@@ -13,7 +13,7 @@
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
- label-mac-device = &ethernet;
+ label-mac-device = &gmac0;
};
chosen {
@@ -105,10 +105,41 @@
};
};
-&ethernet {
+&gmac0 {
mtd-mac-address = <&factory 0x4>;
};
+&switch0 {
+ ports {
+ port@0 {
+ status = "okay";
+ label = "lan4";
+ };
+
+ port@1 {
+ status = "okay";
+ label = "lan3";
+ };
+
+ port@2 {
+ status = "okay";
+ label = "lan2";
+ };
+
+ port@3 {
+ status = "okay";
+ label = "lan1";
+ };
+
+ port@4 {
+ status = "okay";
+ label = "wan";
+ mtd-mac-address = <&factory 0x4>;
+ mtd-mac-address-increment = <1>;
+ };
+ };
+};
+
&state_default {
gpio {
groups = "uart3", "uart2", "jtag", "wdt";