aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-01-02 19:25:26 +0100
committerDavid Bauer <mail@david-bauer.net>2020-01-03 17:52:36 +0100
commit037a151c56e9d7da1b0eeba05d49daf7bcc3c754 (patch)
treeff82ffe9974ef119cfecf62dccc78f143dc7c0bc /target/linux/ramips/dts
parent3e8b66e0da1aca04867d23ca2a8dbf2042e5b45b (diff)
downloadupstream-037a151c56e9d7da1b0eeba05d49daf7bcc3c754.tar.gz
upstream-037a151c56e9d7da1b0eeba05d49daf7bcc3c754.tar.bz2
upstream-037a151c56e9d7da1b0eeba05d49daf7bcc3c754.zip
ramips: fix Archer C2 v1 5GHz MAC address
The TP-Link Archer C2 v1 previously had a generic Ralink MAC address set for the 5GHz radio (MT7610), as the caldata does only contain a generic MAC address. Set the MAC address from the vendor firmware for the 5GHz radio to assign unique MAC addresses to every device. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit dcc923a4c45b48fcbef4f3964f74fbcaabad335e)
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/ArcherC2-v1.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/ArcherC2-v1.dts b/target/linux/ramips/dts/ArcherC2-v1.dts
index 5444a66461..3e1549ff98 100644
--- a/target/linux/ramips/dts/ArcherC2-v1.dts
+++ b/target/linux/ramips/dts/ArcherC2-v1.dts
@@ -188,5 +188,7 @@
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&radio 0x8000>;
+ mtd-mac-address = <&rom 0xf100>;
+ mtd-mac-address-increment = <(-1)>;
};
};