[openwrt/openwrt] ath79: TP-Link EAP225-Outdoor v1: use pre-calibration nvmem-cell

LEDE Commits lede-commits at lists.infradead.org
Sat Jun 18 10:31:15 PDT 2022


svanheule pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0cb851cad13a231761024d7a08e0798bd0aa08e9

commit 0cb851cad13a231761024d7a08e0798bd0aa08e9
Author: Nick Hainke <vincent at systemli.org>
AuthorDate: Sat Jun 18 14:42:08 2022 +0200

    ath79: TP-Link EAP225-Outdoor v1: use pre-calibration nvmem-cell
    
    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 at svanheule.net>
    Signed-off-by: Nick Hainke <vincent at systemli.org>
---
 target/linux/ath79/dts/qca9563_tplink_eap225-outdoor-v1.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/ath79/dts/qca9563_tplink_eap225-outdoor-v1.dts b/target/linux/ath79/dts/qca9563_tplink_eap225-outdoor-v1.dts
index 0b376bf657..79c45f1ea8 100644
--- a/target/linux/ath79/dts/qca9563_tplink_eap225-outdoor-v1.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_eap225-outdoor-v1.dts
@@ -30,7 +30,7 @@
 };
 
 &art {
-	calibration_ath10k: calibration at 5000 {
+	precalibration_ath10k: pre-calibration at 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";
 	};
 };




More information about the lede-commits mailing list