aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-10-25 14:06:44 +0200
committerJohn Crispin <john@phrozen.org>2019-10-27 12:12:50 +0100
commit547720fb48843465e363bf666e03ed383666feba (patch)
tree189e4016c0b830b7bc778c245d3fa45fd40419c7 /target/linux
parentb9d58f7e066fdd58be173c56e0f3ff3664d08059 (diff)
downloadupstream-547720fb48843465e363bf666e03ed383666feba.tar.gz
upstream-547720fb48843465e363bf666e03ed383666feba.tar.bz2
upstream-547720fb48843465e363bf666e03ed383666feba.zip
ramips: remove redundant mtd-mac-address for WiFi
When caldata locations are defined with mediatek,mtd-eeprom the MAC address is automatically read from offset +4. Thus, specifying that location explicitly is redundant. This patch removes those redundant definitions. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/mt7628an_netgear_r6120.dts1
-rw-r--r--target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts1
-rw-r--r--target/linux/ramips/dts/rt3883_loewe_wmdr-143n.dts3
3 files changed, 1 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/mt7628an_netgear_r6120.dts b/target/linux/ramips/dts/mt7628an_netgear_r6120.dts
index e27406aed4..7fd8924145 100644
--- a/target/linux/ramips/dts/mt7628an_netgear_r6120.dts
+++ b/target/linux/ramips/dts/mt7628an_netgear_r6120.dts
@@ -133,7 +133,6 @@
&wmac {
status = "okay";
- mtd-mac-address = <&factory 0x4>;
mediatek,mtd-eeprom = <&factory 0x0>;
};
diff --git a/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts b/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts
index 644882c6a2..538827b03f 100644
--- a/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts
+++ b/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts
@@ -196,7 +196,6 @@
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
- mtd-mac-address = <&factory 0x8004>;
};
};
diff --git a/target/linux/ramips/dts/rt3883_loewe_wmdr-143n.dts b/target/linux/ramips/dts/rt3883_loewe_wmdr-143n.dts
index 66711420ac..8cce0d5f38 100644
--- a/target/linux/ramips/dts/rt3883_loewe_wmdr-143n.dts
+++ b/target/linux/ramips/dts/rt3883_loewe_wmdr-143n.dts
@@ -64,6 +64,5 @@
&wmac {
status = "okay";
- ralink,mtd-eeprom = <&factory 0>;
- mtd-mac-address = <&factory 0x4>;
+ ralink,mtd-eeprom = <&factory 0x0>;
};