ramips: remove redundant mtd-mac-address for WiFi
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 25 Oct 2019 12:06:44 +0000 (14:06 +0200)
committerJohn Crispin <john@phrozen.org>
Sun, 27 Oct 2019 11:12:50 +0000 (12:12 +0100)
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>
target/linux/ramips/dts/mt7628an_netgear_r6120.dts
target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts
target/linux/ramips/dts/rt3883_loewe_wmdr-143n.dts

index e27406aed44f9545e1ad6129a82e4d0ea82df88f..7fd8924145bce0af3a96256369dc033df988b3a9 100644 (file)
 
 &wmac {
        status = "okay";
-       mtd-mac-address = <&factory 0x4>;
        mediatek,mtd-eeprom = <&factory 0x0>;
 };
 
index 644882c6a2edc31ffb480859c751195397f06029..538827b03fabc11af078e54b9b195b6825ca5aa2 100644 (file)
                reg = <0x0000 0 0 0 0>;
                mediatek,mtd-eeprom = <&factory 0x8000>;
                ieee80211-freq-limit = <5000000 6000000>;
-               mtd-mac-address = <&factory 0x8004>;
        };
 };
 
index 66711420ac9ccbe5d25565b67bde7dbdd0594c9b..8cce0d5f386f2ee4f346245e6cc975757af3e588 100644 (file)
@@ -64,6 +64,5 @@
 
 &wmac {
        status = "okay";
-       ralink,mtd-eeprom = <&factory 0>;
-       mtd-mac-address = <&factory 0x4>;
+       ralink,mtd-eeprom = <&factory 0x0>;
 };