ath79: utilize nvmem on Netgear EX7300 v2
authorSungbo Eo <mans0n@gorani.run>
Tue, 8 Feb 2022 16:32:47 +0000 (01:32 +0900)
committerSungbo Eo <mans0n@gorani.run>
Sun, 20 Feb 2022 04:45:06 +0000 (13:45 +0900)
commit3e3e78de1103cb0c5af4cc229152236758c37901
tree5323b71c84e13cdeb203f06f731c41c04baecff2
parentb0d5939b80008aca8090832eb9918b998f08e8f3
ath79: utilize nvmem on Netgear EX7300 v2

mtd-mac-address should no longer be used after commit 5ae2e786395c
("kernel: drop support for mtd-mac-address"). Convert it to nvmem-cells.

While at it, also convert OpenWrt's custom mtd-cal-data property and
userspace pre-calibration data extraction to the nvmem implementation.

Note: nvmem-cells in QCN5502 wmac has not been tested.

Fixes: c32008a37b81 ("ath79: add partial support for Netgear EX7300v2")
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
target/linux/ath79/dts/qcn5502_netgear_ex7300-v2.dts
target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata