aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_arcadyan_wg4xx223.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_arcadyan_wg4xx223.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7621_arcadyan_wg4xx223.dtsi20
1 files changed, 15 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/mt7621_arcadyan_wg4xx223.dtsi b/target/linux/ramips/dts/mt7621_arcadyan_wg4xx223.dtsi
index 5a845c4e9b..8c4be8440d 100644
--- a/target/linux/ramips/dts/mt7621_arcadyan_wg4xx223.dtsi
+++ b/target/linux/ramips/dts/mt7621_arcadyan_wg4xx223.dtsi
@@ -171,6 +171,21 @@
nvmem-cell-names = "mac-address";
};
+&gmac1 {
+ status = "okay";
+ label = "wan";
+ phy-handle = <&ethphy4>;
+
+ nvmem-cells = <&macaddr_factory_fff0>;
+ nvmem-cell-names = "mac-address";
+};
+
+&mdio {
+ ethphy4: ethernet-phy@4 {
+ reg = <4>;
+ };
+};
+
&switch0 {
ports {
port@2 {
@@ -182,11 +197,6 @@
status = "okay";
label = "lan1";
};
-
- port@4 {
- status = "okay";
- label = "wan";
- };
};
};