aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts20
1 files changed, 15 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts b/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts
index 0be4af39e8..4fa799789c 100644
--- a/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts
+++ b/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts
@@ -156,14 +156,24 @@
nvmem-cell-names = "mac-address";
};
+&gmac1 {
+ status = "okay";
+ label = "lan0";
+ phy-handle = <&ethphy0>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&mdio {
+ ethphy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+};
+
&switch0 {
compatible = "mediatek,mt7530";
ports {
- port@0 {
- status = "okay";
- label = "lan0";
- };
-
port@1 {
status = "okay";
label = "lan3";