aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts35
1 files changed, 33 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts b/target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts
index 618c0ab565..d99cc7d257 100644
--- a/target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts
+++ b/target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts
@@ -14,7 +14,7 @@
led-failsafe = &led_sys;
led-running = &led_sys;
led-upgrade = &led_sys;
- label-mac-device = &ethernet;
+ label-mac-device = &gmac0;
};
chosen {
@@ -90,10 +90,41 @@
status = "okay";
};
-&ethernet {
+&gmac0 {
mtd-mac-address = <&factory 0x4>;
};
+&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";
+ };
+
+ port@4 {
+ status = "okay";
+ label = "wan";
+ mtd-mac-address = <&factory 0x4>;
+ mtd-mac-address-increment = <1>;
+ };
+ };
+};
+
&state_default {
gpio {
groups = "uart3", "wdt";