aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts23
1 files changed, 22 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts b/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts
index d65d1de05c..f7889bd68a 100644
--- a/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts
+++ b/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts
@@ -162,11 +162,32 @@
};
};
-&ethernet {
+&gmac0 {
mtd-mac-address = <&hard_config 0x0010>;
mtd-mac-address-increment = <1>;
};
+&switch0 {
+ ports {
+ port@0 {
+ status = "okay";
+ label = "wan";
+ mtd-mac-address = <&hard_config 0x0010>;
+ mtd-mac-address-increment = <2>;
+ };
+
+ port@1 {
+ status = "okay";
+ label = "lan1";
+ };
+
+ port@2 {
+ status = "okay";
+ label = "lan2";
+ };
+ };
+};
+
&state_default {
gpio {
groups = "uart2", "wdt";