Jelajahi Sumber

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17261
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 96eb12e961748373a38738de92f5ef1a87f0cc75)
Shiji Yang 1 tahun lalu
induk
melakukan
28602452df

+ 1 - 1
target/linux/ath79/dts/ar9132_buffalo_wzr-hp-g300nh.dtsi

@@ -145,7 +145,7 @@
 					#size-cells = <1>;
 
 					cal_art_11000: calibration@11000 {
-						reg = <0x11000 0x440>;
+						reg = <0x11000 0xeb8>;
 					};
 
 					macaddr_art_1120c: macaddr@1120c {

+ 1 - 1
target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts

@@ -104,7 +104,7 @@
 					#size-cells = <1>;
 
 					cal_art_1000: calibration@1000 {
-						reg = <0x1000 0x440>;
+						reg = <0x1000 0xeb8>;
 					};
 				};
 			};

+ 1 - 1
target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts

@@ -131,7 +131,7 @@
 					#size-cells = <1>;
 
 					cal_art_1000: calibration@1000 {
-						reg = <0x1000 0x440>;
+						reg = <0x1000 0xeb8>;
 					};
 				};
 			};

+ 1 - 1
target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts

@@ -153,7 +153,7 @@
 					#size-cells = <1>;
 
 					cal_art_1000: calibration@1000 {
-						reg = <0x1000 0x440>;
+						reg = <0x1000 0xeb8>;
 					};
 				};
 			};