aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_iptime_a8004t.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_iptime_a8004t.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_iptime_a8004t.dts22
1 files changed, 15 insertions, 7 deletions
diff --git a/target/linux/ramips/dts/mt7621_iptime_a8004t.dts b/target/linux/ramips/dts/mt7621_iptime_a8004t.dts
index a00e921a49..0f5870140f 100644
--- a/target/linux/ramips/dts/mt7621_iptime_a8004t.dts
+++ b/target/linux/ramips/dts/mt7621_iptime_a8004t.dts
@@ -99,15 +99,23 @@
nvmem-cell-names = "mac-address";
};
+&gmac1 {
+ status = "okay";
+ label = "wan";
+ phy-handle = <&ethphy0>;
+
+ nvmem-cells = <&macaddr_uboot_1fc40>;
+ nvmem-cell-names = "mac-address";
+};
+
+&mdio {
+ ethphy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+};
+
&switch0 {
ports {
- port@0 {
- status = "okay";
- label = "wan";
- nvmem-cells = <&macaddr_uboot_1fc40>;
- nvmem-cell-names = "mac-address";
- };
-
port@1 {
status = "okay";
label = "lan4";