aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts33
1 files changed, 32 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts b/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts
index 57c4638f16..1fabad5da6 100644
--- a/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts
+++ b/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts
@@ -129,10 +129,41 @@
};
};
-&ethernet {
+&gmac0 {
mtd-mac-address = <&iNIC_rf 0x4>;
};
+&switch0 {
+ ports {
+ port@0 {
+ status = "okay";
+ label = "wan";
+ mtd-mac-address = <&factory 0x4>;
+ mtd-mac-address-increment = <1>;
+ };
+
+ port@1 {
+ status = "okay";
+ label = "lan4";
+ };
+
+ port@2 {
+ status = "okay";
+ label = "lan3";
+ };
+
+ port@3 {
+ status = "okay";
+ label = "lan2";
+ };
+
+ port@4 {
+ status = "okay";
+ label = "lan1";
+ };
+ };
+};
+
&state_default {
gpio {
groups = "uart2", "uart3", "jtag";