diff options
author | Sander Vanheule <sander@svanheule.net> | 2022-06-05 12:01:51 +0200 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2022-06-16 21:39:32 +0200 |
commit | 23b904074500b2fa6691a0c9ebf82cefdd1ed95c (patch) | |
tree | 6d10353769e8fc2c2d034427ec3ba87cd5c7161a /target/linux/ath79/dts | |
parent | 7cf3a37957573576dac56978b0613f701853f7e2 (diff) | |
download | upstream-23b904074500b2fa6691a0c9ebf82cefdd1ed95c.tar.gz upstream-23b904074500b2fa6691a0c9ebf82cefdd1ed95c.tar.bz2 upstream-23b904074500b2fa6691a0c9ebf82cefdd1ed95c.zip |
ath79: TP-Link EAP225-Outdoor v1: convert ath10k to nvmem-cells
Add the PCIe node for the ath10k radio to the devicetree, and refer to
the art partition for the calibration data using nvmem-cells.
Use mac-address-increment to ensure the MAC address is set correctly,
and remove the device from the caldata extraction and patching script.
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r-- | target/linux/ath79/dts/qca9563_tplink_eap225-outdoor-v1.dts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9563_tplink_eap225-outdoor-v1.dts b/target/linux/ath79/dts/qca9563_tplink_eap225-outdoor-v1.dts index fc6d3365a0..9e61490a5d 100644 --- a/target/linux/ath79/dts/qca9563_tplink_eap225-outdoor-v1.dts +++ b/target/linux/ath79/dts/qca9563_tplink_eap225-outdoor-v1.dts @@ -28,3 +28,21 @@ }; }; }; + +&art { + calibration_ath10k: calibration@5000 { + reg = <0x5000 0x2f20>; + }; +}; + +&pcie { + wifi@0,0 { + compatible = "qcom,ath10k"; + reg = <0 0 0 0 0>; + + mac-address-increment = <1>; + + nvmem-cells = <&macaddr_info_8>, <&calibration_ath10k>; + nvmem-cell-names = "mac-address", "calibration"; + }; +}; |