aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-03-11 15:37:34 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-03-11 16:09:16 +0100
commit88aead0a665dd349af4fb8afcfe1a16cf90515ae (patch)
tree40c99b6df6c812878876b94c07f4c540b9aa6bf8 /target/linux
parent0f8c806eb8737f24b81d91869446d2bd5030b975 (diff)
downloadupstream-88aead0a665dd349af4fb8afcfe1a16cf90515ae.tar.gz
upstream-88aead0a665dd349af4fb8afcfe1a16cf90515ae.tar.bz2
upstream-88aead0a665dd349af4fb8afcfe1a16cf90515ae.zip
ath79: fix swapped LAN/WAN MAC address for Archer C60 v1/v2
The MAC addresses for lan/wan are swapped compared to the vendor firmware. This adjusts to vendor configuration, which is: lan *:7b label wan *:7c label+1 2.4g *:7b label 5g *:7a label-1 Only one address is stored in <&mac 0x8>, corresponding to the label. This has been checked on revisions v1, v2 and v3. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi b/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi
index 9b51ebf689..abbccea08f 100644
--- a/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi
+++ b/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi
@@ -15,7 +15,7 @@
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
- label-mac-device = &eth0;
+ label-mac-device = &eth1;
};
keys {
@@ -91,13 +91,13 @@
phy-handle = <&swphy4>;
mtd-mac-address = <&mac 0x8>;
+ mtd-mac-address-increment = <1>;
};
&eth1 {
status = "okay";
mtd-mac-address = <&mac 0x8>;
- mtd-mac-address-increment = <1>;
};
&wmac {