[openwrt/openwrt] ath79: fix ath9k calibration data size for AR9132

LEDE Commits lede-commits at lists.infradead.org
Sun Dec 15 13:56:04 PST 2024


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

commit 96eb12e961748373a38738de92f5ef1a87f0cc75
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Thu Dec 12 22:40:08 2024 +0800

    ath79: fix ath9k calibration data size for AR9132
    
    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 at qq.com>
    Link: https://github.com/openwrt/openwrt/pull/17261
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/ath79/dts/ar9132_buffalo_wzr-hp-g300nh.dtsi | 2 +-
 target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts   | 2 +-
 target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts  | 2 +-
 target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/ath79/dts/ar9132_buffalo_wzr-hp-g300nh.dtsi b/target/linux/ath79/dts/ar9132_buffalo_wzr-hp-g300nh.dtsi
index a82546c1c1..474d0fa80f 100644
--- a/target/linux/ath79/dts/ar9132_buffalo_wzr-hp-g300nh.dtsi
+++ b/target/linux/ath79/dts/ar9132_buffalo_wzr-hp-g300nh.dtsi
@@ -145,7 +145,7 @@
 					#size-cells = <1>;
 
 					cal_art_11000: calibration at 11000 {
-						reg = <0x11000 0x440>;
+						reg = <0x11000 0xeb8>;
 					};
 
 					macaddr_art_1120c: macaddr at 1120c {
diff --git a/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts b/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts
index ed4ca5297e..3fcc4073fe 100644
--- a/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts
+++ b/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts
@@ -104,7 +104,7 @@
 					#size-cells = <1>;
 
 					cal_art_1000: calibration at 1000 {
-						reg = <0x1000 0x440>;
+						reg = <0x1000 0xeb8>;
 					};
 				};
 			};
diff --git a/target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts b/target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
index 8958ddd3a8..847d4d4c47 100644
--- a/target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
+++ b/target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
@@ -131,7 +131,7 @@
 					#size-cells = <1>;
 
 					cal_art_1000: calibration at 1000 {
-						reg = <0x1000 0x440>;
+						reg = <0x1000 0xeb8>;
 					};
 				};
 			};
diff --git a/target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts b/target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts
index d3f189479a..3ad058e959 100644
--- a/target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts
+++ b/target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts
@@ -153,7 +153,7 @@
 					#size-cells = <1>;
 
 					cal_art_1000: calibration at 1000 {
-						reg = <0x1000 0x440>;
+						reg = <0x1000 0xeb8>;
 					};
 				};
 			};




More information about the lede-commits mailing list