aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_humax_e10.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_humax_e10.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_humax_e10.dts24
1 files changed, 16 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/mt7621_humax_e10.dts b/target/linux/ramips/dts/mt7621_humax_e10.dts
index 41587629c0..638d73c3ef 100644
--- a/target/linux/ramips/dts/mt7621_humax_e10.dts
+++ b/target/linux/ramips/dts/mt7621_humax_e10.dts
@@ -15,7 +15,7 @@
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
- label-mac-device = &wan;
+ label-mac-device = &gmac1;
};
gpio-export {
@@ -132,15 +132,23 @@
nvmem-cell-names = "mac-address";
};
+&gmac1 {
+ status = "okay";
+ label = "wan";
+ phy-handle = <&ethphy0>;
+
+ nvmem-cells = <&macaddr_factory_1000d>;
+ nvmem-cell-names = "mac-address";
+};
+
+&mdio {
+ ethphy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+};
+
&switch0 {
ports {
- wan: port@0 {
- status = "okay";
- label = "wan";
- nvmem-cells = <&macaddr_factory_1000d>;
- nvmem-cell-names = "mac-address";
- };
-
port@1 {
status = "okay";
label = "lan";