Skip to content

Commit

Permalink
ath79: fix ath9k calibration data size for AR9132
Browse files Browse the repository at this point in the history
For ath9k NICs older than AR9287, The eeprom size is 0xeb8.

Fixes: openwrt#17196
Fixes: 74f2df9 ("ath79: mtd-cal-data removals")
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: openwrt#17261
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  • Loading branch information
DragonBluep authored and hauke committed Dec 15, 2024
1 parent 5a24850 commit 96eb12e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion target/linux/ath79/dts/ar9132_buffalo_wzr-hp-g300nh.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
#size-cells = <1>;

cal_art_11000: calibration@11000 {
reg = <0x11000 0x440>;
reg = <0x11000 0xeb8>;
};

macaddr_art_1120c: macaddr@1120c {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
#size-cells = <1>;

cal_art_1000: calibration@1000 {
reg = <0x1000 0x440>;
reg = <0x1000 0xeb8>;
};
};
};
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
#size-cells = <1>;

cal_art_1000: calibration@1000 {
reg = <0x1000 0x440>;
reg = <0x1000 0xeb8>;
};
};
};
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
#size-cells = <1>;

cal_art_1000: calibration@1000 {
reg = <0x1000 0x440>;
reg = <0x1000 0xeb8>;
};
};
};
Expand Down

0 comments on commit 96eb12e

Please sign in to comment.