ath79: fix ath9k calibration data size for AR9132
authorShiji Yang <yangshiji66@qq.com>
Thu, 12 Dec 2024 14:40:08 +0000 (22:40 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 15 Dec 2024 21:31:31 +0000 (22:31 +0100)
For ath9k NICs older than AR9287, The eeprom size is 0xeb8.

Fixes: https://github.com/openwrt/openwrt/issues/17196
Fixes: 74f2df9dbccd ("ath79: mtd-cal-data removals")
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/17261
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ath79/dts/ar9132_buffalo_wzr-hp-g300nh.dtsi
target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts
target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts

index a82546c1c1395ea52d9db30a777b50ca3baaa2ed..474d0fa80f74cdb976def2449c96ad1fae215f36 100644 (file)
                                        #size-cells = <1>;
 
                                        cal_art_11000: calibration@11000 {
-                                               reg = <0x11000 0x440>;
+                                               reg = <0x11000 0xeb8>;
                                        };
 
                                        macaddr_art_1120c: macaddr@1120c {
index ed4ca5297e7f5cd490d454bfae8217b9bcf4406d..3fcc4073fea63036acd95ab0cc77479678265418 100644 (file)
                                        #size-cells = <1>;
 
                                        cal_art_1000: calibration@1000 {
-                                               reg = <0x1000 0x440>;
+                                               reg = <0x1000 0xeb8>;
                                        };
                                };
                        };
index 8958ddd3a83b3f5178de76cf6ec2760d9cbd592a..847d4d4c47def9c8b66a5d5c2004dc96e10f21d5 100644 (file)
                                        #size-cells = <1>;
 
                                        cal_art_1000: calibration@1000 {
-                                               reg = <0x1000 0x440>;
+                                               reg = <0x1000 0xeb8>;
                                        };
                                };
                        };
index d3f189479a8b8e0e54a1f63540377a657de9dbd4..3ad058e95973506181f5b975a72aff3417c453ba 100644 (file)
                                        #size-cells = <1>;
 
                                        cal_art_1000: calibration@1000 {
-                                               reg = <0x1000 0x440>;
+                                               reg = <0x1000 0xeb8>;
                                        };
                                };
                        };