Browse Source

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 <[email protected]>
Adrian Schmutzler 6 years ago
parent
commit
547720fb48

+ 0 - 1
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>;
 };
 

+ 0 - 1
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>;
 	};
 };
 

+ 1 - 2
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>;
 };