aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_asiarf_ap7621-001.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_asiarf_ap7621-001.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_asiarf_ap7621-001.dts24
1 files changed, 16 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/mt7621_asiarf_ap7621-001.dts b/target/linux/ramips/dts/mt7621_asiarf_ap7621-001.dts
index c74fee3102..5e57842d68 100644
--- a/target/linux/ramips/dts/mt7621_asiarf_ap7621-001.dts
+++ b/target/linux/ramips/dts/mt7621_asiarf_ap7621-001.dts
@@ -7,19 +7,27 @@
model = "AsiaRF AP7621-001";
};
+&gmac1 {
+ status = "okay";
+ label = "wan";
+ phy-handle = <&ethphy4>;
+
+ nvmem-cells = <&macaddr_factory_e000>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
+};
+
+&mdio {
+ ethphy4: ethernet-phy@4 {
+ reg = <4>;
+ };
+};
+
&switch0 {
ports {
port@0 {
status = "okay";
label = "lan";
};
-
- port@4 {
- status = "okay";
- label = "wan";
- nvmem-cells = <&macaddr_factory_e000>;
- nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
- };
};
};