aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts23
1 files changed, 16 insertions, 7 deletions
diff --git a/target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts b/target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts
index da832d6df5..5d346be1d2 100644
--- a/target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts
+++ b/target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts
@@ -14,7 +14,7 @@
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
- label-mac-device = &wan;
+ label-mac-device = &gmac1;
};
leds {
@@ -133,6 +133,21 @@
nvmem-cell-names = "mac-address";
};
+&gmac1 {
+ status = "okay";
+ label = "wan";
+ phy-handle = <&ethphy4>;
+
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
+};
+
+&mdio {
+ ethphy4: ethernet-phy@4 {
+ reg = <4>;
+ };
+};
+
&switch0 {
ports {
port@0 {
@@ -154,12 +169,6 @@
status = "okay";
label = "lan4";
};
- wan: port@4 {
- status = "okay";
- label = "wan";
- nvmem-cells = <&macaddr_factory_4>;
- nvmem-cell-names = "mac-address";
- };
};
};