diff options
author | Shiji Yang <yangshiji66@qq.com> | 2024-02-01 19:39:51 +0800 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2024-02-01 17:09:02 +0100 |
commit | 2f1c62e5af071c05631209867acefdc1f112ae26 (patch) | |
tree | 5f42d2466bfc6669b824457d5ba7b6a30639fd26 /target/linux/ath79/dts/qca9557_araknis_an-500-ap-i-ac.dts | |
parent | d07cec6b2bdcf6389c06a2599a5c924ee490136f (diff) | |
download | openwrt-2f1c62e5af071c05631209867acefdc1f112ae26.tar.gz openwrt-2f1c62e5af071c05631209867acefdc1f112ae26.tar.bz2 openwrt-2f1c62e5af071c05631209867acefdc1f112ae26.zip |
ath79: convert ath10k calibration data to NVMEM (binary MAC)
This patch converts ath10k calibration data to NVMEM format for
wave 1 devices with mtd binary MAC address. The "calibration"
NVMEM cell size is 0x844. The MAC addresses are assigned via dts.
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Diffstat (limited to 'target/linux/ath79/dts/qca9557_araknis_an-500-ap-i-ac.dts')
-rw-r--r-- | target/linux/ath79/dts/qca9557_araknis_an-500-ap-i-ac.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9557_araknis_an-500-ap-i-ac.dts b/target/linux/ath79/dts/qca9557_araknis_an-500-ap-i-ac.dts index 6d402df13f..941d87657f 100644 --- a/target/linux/ath79/dts/qca9557_araknis_an-500-ap-i-ac.dts +++ b/target/linux/ath79/dts/qca9557_araknis_an-500-ap-i-ac.dts @@ -70,6 +70,10 @@ reg = <0x0 0x6>; #nvmem-cell-cells = <1>; }; + + cal_art_5000: calibration@5000 { + reg = <0x5000 0x844>; + }; }; }; }; @@ -107,4 +111,11 @@ &pcie0 { status = "okay"; + + wifi@0,0 { + compatible = "qcom,ath10k"; + reg = <0x0000 0 0 0 0>; + nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>; + nvmem-cell-names = "calibration", "mac-address"; + }; }; |