[openwrt/openwrt] ath79: fix calibration size for AR9287

LEDE Commits lede-commits at lists.infradead.org
Mon Dec 23 14:47:10 PST 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a2b0ded29f1f92663b1fd7e2a3382d61f1856b09

commit a2b0ded29f1f92663b1fd7e2a3382d61f1856b09
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Mon Dec 16 14:15:08 2024 -0800

    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 <rosenp at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/17278
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 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 at 1000 {
-						reg = <0x1000 0x440>;
+						reg = <0x1000 0x3d8>;
 					};
 				};
 			};
@@ -92,6 +92,7 @@
 };
 
 &wifi {
+	compatible = "pci168c,002e";
 	nvmem-cells = <&calibration_art_1000>;
 	nvmem-cell-names = "calibration";
 };




More information about the lede-commits mailing list