aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts28
1 files changed, 27 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts b/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts
index 6e3eda5290..b501034b7f 100644
--- a/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts
+++ b/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts
@@ -110,10 +110,36 @@
};
};
-&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@4 {
+ status = "okay";
+ label = "wan";
+ mtd-mac-address = <&factory 0xe000>;
+ mtd-mac-address-increment = <1>;
+ };
+ };
+};
+
&state_default {
gpio {
groups = "jtag", "wdt";