ramips: fix Archer C20i wireless MAC address
authorDavid Bauer <mail@david-bauer.net>
Thu, 2 Jan 2020 18:27:54 +0000 (19:27 +0100)
committerDavid Bauer <mail@david-bauer.net>
Thu, 2 Jan 2020 20:41:58 +0000 (21:41 +0100)
The TP-Link Archer C20i previously had a generic Ralink MAC address set
for both radios, as the caldata does only contain a generic MAC address.

Set the MAC address from the vendor firmware for both radios to assign
unique MAC addresses to every device.

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts

index a363af96cdeeb6d12c78adabdf3648790b481481..7e05a2e1ea362e87a26290804c365df29746dd9b 100644 (file)
                ralink,function = "gpio";
        };
 };
+
+&wmac {
+       mtd-mac-address = <&rom 0xf100>;
+};
+
+&wifi {
+       mtd-mac-address = <&rom 0xf100>;
+       mtd-mac-address-increment = <(-1)>;
+};