ath79: TP-Link EAP225-Outdoor v1: use pre-calibration nvmem-cell
authorNick Hainke <vincent@systemli.org>
Sat, 18 Jun 2022 12:42:08 +0000 (14:42 +0200)
committerSander Vanheule <sander@svanheule.net>
Sat, 18 Jun 2022 17:30:44 +0000 (19:30 +0200)
Fixes errors in the form of:
  ath10k_pci 0000:00:00.0: failed to fetch board data for bus=pci,
  vendor=168c,device=0056,subsystem-vendor=0000,subsystem-device
  =0000 from ath10k/QCA9888/hw2.0/board-2.bin
  ath10k_pci 0000:00:00.0: failed to fetch board-2.bin or board.bin
  from ath10k/QCA9888/hw2.0
  ath10k_pci 0000:00:00.0: failed to fetch board file: -12
  ath10k_pci 0000:00:00.0: could not probe fw (-12)

As described already in 2d3321619b2b ("ath79: TP-Link EAP245 v3: use
pre-calibration nvmem-cell"):
  Ath10k Wave-2 hardware requires an nvmem-cell called "pre-calibration"
  to load the device specific caldata, not "calibration".

Further rename the nvmem cell node and label to match the updated cell name.

Fixes: 23b904074500 ("ath79: TP-Link EAP225-Outdoor v1: convert ath10k to nvmem-cells")
Suggested-by: Sander Vanheule <sander@svanheule.net>
Signed-off-by: Nick Hainke <vincent@systemli.org>
target/linux/ath79/dts/qca9563_tplink_eap225-outdoor-v1.dts

index 0b376bf6577be043e9abb9fef9b0b7b5501ffb91..79c45f1ea8a26fe81cd8bdcacb608357b02fa8e6 100644 (file)
@@ -30,7 +30,7 @@
 };
 
 &art {
-       calibration_ath10k: calibration@5000 {
+       precalibration_ath10k: pre-calibration@5000 {
                reg = <0x5000 0x2f20>;
        };
 };
@@ -54,7 +54,7 @@
 
                mac-address-increment = <1>;
 
-               nvmem-cells = <&macaddr_info_8>, <&calibration_ath10k>;
-               nvmem-cell-names = "mac-address", "calibration";
+               nvmem-cells = <&macaddr_info_8>, <&precalibration_ath10k>;
+               nvmem-cell-names = "mac-address", "pre-calibration";
        };
 };