瀏覽代碼

ramips: fix Archer C2 v1 5GHz MAC address

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 <[email protected]>
David Bauer 5 年之前
父節點
當前提交
dcc923a4c4
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      target/linux/ramips/dts/mt7620a_tplink_archer-c2-v1.dts

+ 2 - 0
target/linux/ramips/dts/mt7620a_tplink_archer-c2-v1.dts

@@ -185,5 +185,7 @@
 	mt76@0,0 {
 	mt76@0,0 {
 		reg = <0x0000 0 0 0 0>;
 		reg = <0x0000 0 0 0 0>;
 		mediatek,mtd-eeprom = <&radio 0x8000>;
 		mediatek,mtd-eeprom = <&radio 0x8000>;
+		mtd-mac-address = <&rom 0xf100>;
+		mtd-mac-address-increment = <(-1)>;
 	};
 	};
 };
 };