aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts26
1 files changed, 17 insertions, 9 deletions
diff --git a/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts b/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts
index d658c454a8..2d91d1c481 100644
--- a/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts
+++ b/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts
@@ -14,7 +14,7 @@
led-failsafe = &led_red;
led-running = &led_blue;
led-upgrade = &led_red;
- label-mac-device = &wan_port;
+ label-mac-device = &gmac1;
};
chosen {
@@ -115,16 +115,24 @@
nvmem-cell-names = "mac-address";
};
+&gmac1 {
+ status = "okay";
+ label = "wan";
+ phy-handle = <&ethphy0>;
+
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <(-2)>;
+};
+
+&mdio {
+ ethphy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+};
+
&switch0 {
ports {
- wan_port: port@0 {
- status = "okay";
- label = "wan";
- nvmem-cells = <&macaddr_factory_4>;
- nvmem-cell-names = "mac-address";
- mac-address-increment = <(-2)>;
- };
-
port@1 {
status = "okay";
label = "lan1";