aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_iptime_a8004t.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_iptime_a8004t.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_iptime_a8004t.dts32
1 files changed, 31 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_iptime_a8004t.dts b/target/linux/ramips/dts/mt7621_iptime_a8004t.dts
index 179a9cda4c..b948236c15 100644
--- a/target/linux/ramips/dts/mt7621_iptime_a8004t.dts
+++ b/target/linux/ramips/dts/mt7621_iptime_a8004t.dts
@@ -100,10 +100,40 @@
};
};
-&ethernet {
+&gmac0 {
mtd-mac-address = <&uboot 0x1fc20>;
};
+&switch0 {
+ ports {
+ port@0 {
+ status = "okay";
+ label = "wan";
+ mtd-mac-address = <&uboot 0x1fc40>;
+ };
+
+ port@1 {
+ status = "okay";
+ label = "lan4";
+ };
+
+ port@2 {
+ status = "okay";
+ label = "lan3";
+ };
+
+ port@3 {
+ status = "okay";
+ label = "lan2";
+ };
+
+ port@4 {
+ status = "okay";
+ label = "lan1";
+ };
+ };
+};
+
&pcie {
status = "okay";
};