aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi17
1 files changed, 12 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi b/target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi
index 8dad53812f..9e91a0a299 100644
--- a/target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi
+++ b/target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi
@@ -73,6 +73,18 @@
status = "okay";
};
+&gmac1 {
+ status = "okay";
+ label = "wan";
+ phy-handle = <&ethphy4>;
+};
+
+&mdio {
+ ethphy4: ethernet-phy@4 {
+ reg = <4>;
+ };
+};
+
&switch0 {
ports {
port@0 {
@@ -94,11 +106,6 @@
status = "okay";
label = "lan4";
};
-
- wan: port@4 {
- status = "okay";
- label = "wan";
- };
};
};