diff options
author | Sander Vanheule <sander@svanheule.net> | 2022-06-11 12:42:14 +0200 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2022-06-18 11:57:21 +0200 |
commit | abf28b79c817c319d16f447d28bdaeb6839d5467 (patch) | |
tree | 813f59cd69b5b8282903152a2b6bda9e81694243 /target/linux/ath79/dts | |
parent | 8ccbc95d5021a638d6c6611e04dcbec15aae2379 (diff) | |
download | upstream-abf28b79c817c319d16f447d28bdaeb6839d5467.tar.gz upstream-abf28b79c817c319d16f447d28bdaeb6839d5467.tar.bz2 upstream-abf28b79c817c319d16f447d28bdaeb6839d5467.zip |
ath79: D-Link DAP-2660 A1: convert ath10k caldata to nvmem
Add the PCIe node for the ath10k radio to the devicetree, and refer to
the art partition for the calibration data using nvmem-cells.
MAC address assignment is moved to '10_fix_wifi_mac', so the device can
then be removed from the caldata extraction script '11-ath10k-caldata'.
Cc: Sebastian Schaper <openwrt@sebastianschaper.net>
Tested-by: Sebastian Schaper <openwrt@sebastianschaper.net>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r-- | target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts b/target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts index 0390079426..93e2fc0d97 100644 --- a/target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts +++ b/target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts @@ -79,4 +79,18 @@ &pcie0 { status = "okay"; + + wifi@0,0 { + compatible = "qcom,ath10k"; + reg = <0 0 0 0 0>; + + nvmem-cells = <&cal_ath10k>; + nvmem-cell-names = "calibration"; + }; +}; + +&art { + cal_ath10k: calibration@5000 { + reg = <0x5000 0x844>; + }; }; |