aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_jcg_y2.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_jcg_y2.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_jcg_y2.dts22
1 files changed, 15 insertions, 7 deletions
diff --git a/target/linux/ramips/dts/mt7621_jcg_y2.dts b/target/linux/ramips/dts/mt7621_jcg_y2.dts
index 5de6ba6d95..f8ae9b41df 100644
--- a/target/linux/ramips/dts/mt7621_jcg_y2.dts
+++ b/target/linux/ramips/dts/mt7621_jcg_y2.dts
@@ -93,6 +93,21 @@
nvmem-cell-names = "mac-address";
};
+&gmac1 {
+ status = "okay";
+ label = "wan";
+ phy-handle = <&ethphy4>;
+
+ nvmem-cells = <&macaddr_factory_e006>;
+ nvmem-cell-names = "mac-address";
+};
+
+&mdio {
+ ethphy4: ethernet-phy@4 {
+ reg = <4>;
+ };
+};
+
&switch0 {
ports {
port@0 {
@@ -114,13 +129,6 @@
status = "okay";
label = "lan1";
};
-
- wan: port@4 {
- status = "okay";
- label = "wan";
- nvmem-cells = <&macaddr_factory_e006>;
- nvmem-cell-names = "mac-address";
- };
};
};