ath79: fix calibration size for AR9287
authorRosen Penev <rosenp@gmail.com>
Mon, 16 Dec 2024 22:15:08 +0000 (14:15 -0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 23 Dec 2024 22:46:41 +0000 (23:46 +0100)
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@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17278
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dtsi

index d9c7336f91135cda884ba27d141339269732c062..e9abd423f57d1bb16bea44c2af8a5a3f85c242d5 100644 (file)
@@ -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";
 };