aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_alfa-network_quad-e4g.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_alfa-network_quad-e4g.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_alfa-network_quad-e4g.dts34
1 files changed, 32 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_alfa-network_quad-e4g.dts b/target/linux/ramips/dts/mt7621_alfa-network_quad-e4g.dts
index 266e765d7b..6ac9e337fc 100644
--- a/target/linux/ramips/dts/mt7621_alfa-network_quad-e4g.dts
+++ b/target/linux/ramips/dts/mt7621_alfa-network_quad-e4g.dts
@@ -11,7 +11,7 @@
model = "ALFA Network Quad-E4G";
aliases {
- label-mac-device = &ethernet;
+ label-mac-device = &gmac0;
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
@@ -148,10 +148,40 @@
};
};
-&ethernet {
+&gmac0 {
mtd-mac-address = <&factory 0xe000>;
};
+&switch0 {
+ ports {
+ port@0 {
+ status = "okay";
+ label = "lan4";
+ };
+
+ port@1 {
+ status = "okay";
+ label = "lan3";
+ };
+
+ port@2 {
+ status = "okay";
+ label = "lan2";
+ };
+
+ port@3 {
+ status = "okay";
+ label = "lan1";
+ };
+
+ port@4 {
+ status = "okay";
+ label = "wan";
+ mtd-mac-address = <&factory 0xe006>;
+ };
+ };
+};
+
&i2c {
status = "okay";