From: Rosen Penev Date: Mon, 16 Dec 2024 22:15:08 +0000 (-0800) Subject: ath79: fix calibration size for AR9287 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a2b0ded29f1f92663b1fd7e2a3382d61f1856b09;p=openwrt%2Fopenwrt.git 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 --- 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"; };