ramips: fix Archer C2 v1 5GHz MAC address
authorDavid Bauer <mail@david-bauer.net>
Thu, 2 Jan 2020 18:25:26 +0000 (19:25 +0100)
committerDavid Bauer <mail@david-bauer.net>
Thu, 2 Jan 2020 20:41:58 +0000 (21:41 +0100)
The TP-Link Archer C2 v1 previously had a generic Ralink MAC address set
for the 5GHz radio (MT7610), as the caldata does only contain a generic
MAC address.

Set the MAC address from the vendor firmware for the 5GHz radio to
assign unique MAC addresses to every device.

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

index 58e4b39b55f04bd4d5658c03edb491e4002589f0..efa83eb16d9147f42b69f703e7f6030f73cae86a 100644 (file)
        mt76@0,0 {
                reg = <0x0000 0 0 0 0>;
                mediatek,mtd-eeprom = <&radio 0x8000>;
+               mtd-mac-address = <&rom 0xf100>;
+               mtd-mac-address-increment = <(-1)>;
        };
 };