aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_iptime_a6ns-m.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_iptime_a6ns-m.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_iptime_a6ns-m.dts34
1 files changed, 32 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_iptime_a6ns-m.dts b/target/linux/ramips/dts/mt7621_iptime_a6ns-m.dts
index 7ff01b133a..be8b101b78 100644
--- a/target/linux/ramips/dts/mt7621_iptime_a6ns-m.dts
+++ b/target/linux/ramips/dts/mt7621_iptime_a6ns-m.dts
@@ -15,7 +15,7 @@
led-failsafe = &led_cpu;
led-running = &led_cpu;
led-upgrade = &led_cpu;
- label-mac-device = &ethernet;
+ label-mac-device = &gmac0;
};
chosen {
@@ -115,10 +115,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 = "lan1";
+ };
+
+ port@2 {
+ status = "okay";
+ label = "lan2";
+ };
+
+ port@3 {
+ status = "okay";
+ label = "lan3";
+ };
+
+ port@4 {
+ status = "okay";
+ label = "lan4";
+ };
+ };
+};
+
&pcie {
status = "okay";
};