ath79: convert 1-port TP-Link EAP ath9k to nvmem-cells
Replace the mtd-cal-data phandle with an nvmem-cell reference for the 2.4GHz ath9k radio. This affects the following devices: - TP-Link EAP225 v1 - TP-Link EAP225 v3 - TP-Link EAP225-Outdoor v1 - TP-Link EAP245 v1 Signed-off-by: Sander Vanheule <sander@svanheule.net>
This commit is contained in:
parent
2caa03ec86
commit
e71b5d2db7
@ -81,6 +81,14 @@
|
|||||||
label = "art";
|
label = "art";
|
||||||
reg = <0xff0000 0x010000>;
|
reg = <0xff0000 0x010000>;
|
||||||
read-only;
|
read-only;
|
||||||
|
|
||||||
|
compatible = "nvmem-cells";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
calibration_ath9k: calibration@1000 {
|
||||||
|
reg = <0x1000 0x440>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -125,9 +133,8 @@
|
|||||||
&wmac {
|
&wmac {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
mtd-cal-data = <&art 0x1000>;
|
nvmem-cells = <&macaddr_info_8>, <&calibration_ath9k>;
|
||||||
nvmem-cells = <&macaddr_info_8>;
|
nvmem-cell-names = "mac-address", "calibration";
|
||||||
nvmem-cell-names = "mac-address";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&info {
|
&info {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user