aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts32
1 files changed, 31 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts b/target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts
index bdb9860291..126896c906 100644
--- a/target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts
+++ b/target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts
@@ -15,6 +15,7 @@
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
+ label-mac-device = &wan;
};
chosen {
@@ -132,10 +133,39 @@
};
};
-&ethernet {
+&gmac0 {
mtd-mac-address = <&factory 0xe000>;
};
+&switch0 {
+ ports {
+ port@0 {
+ status = "okay";
+ label = "lan1";
+ };
+
+ port@1 {
+ status = "okay";
+ label = "lan2";
+ };
+
+ port@2 {
+ status = "okay";
+ label = "lan3";
+ };
+
+ port@3 {
+ status = "okay";
+ label = "lan4";
+ };
+ wan: port@4 {
+ status = "okay";
+ label = "wan";
+ mtd-mac-address = <&factory 0x4>;
+ };
+ };
+};
+
&state_default {
gpio {
groups = "i2c", "uart3", "jtag", "wdt";