From a2b0ded29f1f92663b1fd7e2a3382d61f1856b09 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 16 Dec 2024 14:15:08 -0800 Subject: [PATCH] ath79: fix calibration size for AR9287 These devices use AR9287, which uses 3d8 as the calibration size, not 440 like newer chips do. Add a compatible line to make it clear that this is the case. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/17278 Signed-off-by: Hauke Mehrtens --- target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dtsi b/target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dtsi index d9c7336f91..e9abd423f5 100644 --- a/target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dtsi +++ b/target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dtsi @@ -83,7 +83,7 @@ }; calibration_art_1000: calibration@1000 { - reg = <0x1000 0x440>; + reg = <0x1000 0x3d8>; }; }; }; @@ -92,6 +92,7 @@ }; &wifi { + compatible = "pci168c,002e"; nvmem-cells = <&calibration_art_1000>; nvmem-cell-names = "calibration"; }; -- 2.30.2