From 9a329668af0598c6e55834e61574c5087c577dcf Mon Sep 17 00:00:00 2001
From: Sander Vanheule <sander@svanheule.net>
Date: Sat, 18 Jun 2022 15:38:37 +0200
Subject: [PATCH] ath79: TP-Link EAP225-Wall v2: use pre-calibration nvmem-cell

ath10k Wave-2 hardware requires an nvmem-cell called "pre-calibration"
to load the device specific caldata, not "calibration". Rename the nvmem
cell node and label to match the updated cell name.

Fixes: 48625a04453b ("ath79: TP-Link EAP225-Wall v1: convert radios to nvmem-cells")
Signed-off-by: Sander Vanheule <sander@svanheule.net>
---
 target/linux/ath79/dts/qca9561_tplink_eap225-wall-v2.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/ath79/dts/qca9561_tplink_eap225-wall-v2.dts b/target/linux/ath79/dts/qca9561_tplink_eap225-wall-v2.dts
index 30c9441f12..439549d142 100644
--- a/target/linux/ath79/dts/qca9561_tplink_eap225-wall-v2.dts
+++ b/target/linux/ath79/dts/qca9561_tplink_eap225-wall-v2.dts
@@ -65,8 +65,8 @@
 
 		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";
 	};
 };
 
@@ -140,7 +140,7 @@
 					reg = <0x1000 0x440>;
 				};
 
-				calibration_ath10k: calibration@5000 {
+				precalibration_ath10k: pre-calibration@5000 {
 					reg = <0x5000 0x2f20>;
 				};
 			};
-- 
2.30.2