aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
authorMichael Pratt <mcpratt@pm.me>2023-01-31 12:54:14 -0500
committerHauke Mehrtens <hauke@hauke-m.de>2023-02-12 18:07:31 +0100
commitf545caf00194d31f8896c729213e13859547f994 (patch)
treef438c6ada0b192097eb127cef26c7a24545f5f53 /target/linux/ath79/dts
parentf9c28222c830fbd6abff7251c5760226be999181 (diff)
downloadupstream-f545caf00194d31f8896c729213e13859547f994.tar.gz
upstream-f545caf00194d31f8896c729213e13859547f994.tar.bz2
upstream-f545caf00194d31f8896c729213e13859547f994.zip
ath79: convert Engenius EPG5000 radios to nvmem-cells
Use nvmem kernel subsystem to pull radio calibration data with the devicetree instead of userspace scripts. Existing blocks for caldata_extract are reordered alphabetically. MAC address is set using the hotplug script. Signed-off-by: Michael Pratt <mcpratt@pm.me>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/qca9558_engenius_epg5000.dts8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/qca9558_engenius_epg5000.dts b/target/linux/ath79/dts/qca9558_engenius_epg5000.dts
index 37ad32f330..ee0b36d6de 100644
--- a/target/linux/ath79/dts/qca9558_engenius_epg5000.dts
+++ b/target/linux/ath79/dts/qca9558_engenius_epg5000.dts
@@ -62,5 +62,11 @@
};
&wmac {
- qca,no-eeprom;
+ nvmem-cells = <&calibration_art_1000>;
+ nvmem-cell-names = "calibration";
+};
+
+&ath10k_0 {
+ nvmem-cells = <&calibration_art_5000>;
+ nvmem-cell-names = "calibration";
};