aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/ArcherC50.dts
diff options
context:
space:
mode:
authorThibaut VARENE <hacks@slashdirt.org>2017-08-04 17:22:03 +0200
committerMathias Kresin <dev@kresin.me>2017-08-06 09:22:03 +0200
commit370aacf53280ca78fb3570558d5e1f29d0ae8d18 (patch)
tree256f1584570a3f939a8aeafd8c2bcc4cc7fa4038 /target/linux/ramips/dts/ArcherC50.dts
parentc8904e9c04e9039f1414ef4de4809cab91ac1788 (diff)
downloadupstream-370aacf53280ca78fb3570558d5e1f29d0ae8d18.tar.gz
upstream-370aacf53280ca78fb3570558d5e1f29d0ae8d18.tar.bz2
upstream-370aacf53280ca78fb3570558d5e1f29d0ae8d18.zip
ramips: ArcherC50v1: fix wlan2g MAC address
By default the wlan eprom contains the generic ralink MAC which is not the vendor (TP-Link) one. Based on OFW bootlog, it appears that addresses are decremented from the ethernet MAC. This patch fixes the MAC address for wlan2g in line with OFW. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Diffstat (limited to 'target/linux/ramips/dts/ArcherC50.dts')
-rw-r--r--target/linux/ramips/dts/ArcherC50.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/ArcherC50.dts b/target/linux/ramips/dts/ArcherC50.dts
index 444c2bc1af..e8729232b0 100644
--- a/target/linux/ramips/dts/ArcherC50.dts
+++ b/target/linux/ramips/dts/ArcherC50.dts
@@ -170,6 +170,8 @@
&wmac {
ralink,mtd-eeprom = <&radio 0>;
+ mtd-mac-address = <&rom 0xf100>;
+ mtd-mac-address-increment = <(-2)>;
};
&pcie {