aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi37
1 files changed, 36 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi b/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi
index 12621d8b71..d2e5502e48 100644
--- a/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi
+++ b/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi
@@ -8,6 +8,10 @@
/ {
compatible = "mediatek,mt7621-soc";
+ aliases {
+ label-mac-device = &gmac0;
+ };
+
chosen {
bootargs = "console=ttyS0,57600";
};
@@ -57,10 +61,41 @@
};
};
-&ethernet {
+&gmac0 {
mtd-mac-address = <&factory 0x4>;
};
+&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 0x4>;
+ mtd-mac-address-increment = <2>;
+ };
+ };
+};
+
&i2c {
status = "okay";