aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts24
1 files changed, 22 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts b/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
index 7f7dc9c3ea..984c886ff3 100644
--- a/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
+++ b/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
@@ -14,7 +14,7 @@
led-failsafe = &led_blue;
led-running = &led_blue;
led-upgrade = &led_blue;
- label-mac-device = &ethernet;
+ label-mac-device = &gmac0;
};
chosen {
@@ -133,10 +133,30 @@
};
};
-&ethernet {
+&gmac0 {
mtd-mac-address = <&factory 0xe000>;
};
+&switch0 {
+ ports {
+ port@1 {
+ status = "okay";
+ label = "lan2";
+ };
+
+ port@2 {
+ status = "okay";
+ label = "lan1";
+ };
+
+ port@4 {
+ status = "okay";
+ label = "wan";
+ mtd-mac-address = <&factory 0xe006>;
+ };
+ };
+};
+
&state_default {
gpio {
groups = "wdt", "rgmii2", "jtag", "uart2", "uart3", "i2c";