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.dtsi24
1 files changed, 16 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi b/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi
index 2be3f87869..9fa4af8fd6 100644
--- a/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi
+++ b/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi
@@ -166,6 +166,22 @@
nvmem-cell-names = "mac-address";
};
+&gmac1 {
+ status = "okay";
+ label = "wan";
+ phy-handle = <&ethphy4>;
+
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <2>;
+};
+
+&mdio {
+ ethphy4: ethernet-phy@4 {
+ reg = <4>;
+ };
+};
+
&switch0 {
ports {
port@0 {
@@ -187,14 +203,6 @@
status = "okay";
label = "lan1";
};
-
- port@4 {
- status = "okay";
- label = "wan";
- nvmem-cells = <&macaddr_factory_4>;
- nvmem-cell-names = "mac-address";
- mac-address-increment = <2>;
- };
};
};