ath79: calibrate dlink dir-825 b1 with nvmem
authorEdward Chow <equu@openmail.cc>
Sun, 20 Nov 2022 05:49:45 +0000 (13:49 +0800)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 26 Mar 2023 14:39:37 +0000 (16:39 +0200)
commitde3d60b982c7b8e1821b90b312db57287e74ede3
tree4c48d130d3c2e9177f6b2def08403a290be98e02
parentc2d1c32d1ef7f2797aa424a6c94d143e9ddaddc8
ath79: calibrate dlink dir-825 b1 with nvmem

Driver for both soc (2.4GHz Wifi) and pci (5 GHz) now pull the calibration
data from the nvmem subsystem.

This allows us to move the userspace caldata extraction for the pci-e ath9k
supported wifi into the device-tree definition of the device.

Currently, only ethernet devices uses the mac address of
"mac-address-ascii" cells, while PCI ath9k devices uses the mac address
within calibration data.

Signed-off-by: Edward Chow <equu@openmail.cc>
(restored switch configuration in 02_network, integrated caldata into
partition)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
target/linux/ath79/generic/base-files/etc/board.d/02_network
target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom