aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
authorWill Moss <willormos@gmail.com>2022-11-19 10:35:33 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2022-11-20 16:30:27 +0100
commit288b0004bfa981e3dbb8678ee3289509c3930217 (patch)
treeab4e09b3a5c46e12cf154a92cfdcc3ad1d9e62ac /target/linux/ath79/dts
parent5a1d7d8c1b422827673b13a034473683f5af3d6f (diff)
downloadupstream-288b0004bfa981e3dbb8678ee3289509c3930217.tar.gz
upstream-288b0004bfa981e3dbb8678ee3289509c3930217.tar.bz2
upstream-288b0004bfa981e3dbb8678ee3289509c3930217.zip
ath79: fix MAC address assigment for TP-Link TL-WR740N/TL-WR741ND v4
On TP-Link TL-WR740N/TL-WR741ND v4 LAN MAC address (eth1 in DTS) is main device MAC address, so do not increment it. WAN MAC is LAN MAC + 1. Signed-off-by: Will Moss <willormos@gmail.com>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi b/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi
index b74b8251ce..4d3b1dba1d 100644
--- a/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi
+++ b/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi
@@ -118,7 +118,7 @@
};
};
-&eth0 {
+&eth0 { /* WAN interface, initialized last as eth1 */
status = "okay";
nvmem-cells = <&macaddr_uboot_1fc00>;
@@ -133,12 +133,11 @@
};
};
-&eth1 {
+&eth1 { /* LAN interface, initialized first as eth0 */
status = "okay";
nvmem-cells = <&macaddr_uboot_1fc00>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
};
&wmac {