mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 16:58:22 +00:00
ath79: D-Link DAP-2xxx (QCA955x): convert ath9k caldata to nvmem
Convert the calibration data reference for the ath9k radio to an nvmem-cell, replacing the downstream mtd-cal-data property. Cc: Sebastian Schaper <openwrt@sebastianschaper.net> Signed-off-by: Sander Vanheule <sander@svanheule.net>
This commit is contained in:
parent
3a1eb93b27
commit
e2bf11639b
@ -46,6 +46,14 @@
|
|||||||
label = "art";
|
label = "art";
|
||||||
reg = <0xff0000 0x10000>;
|
reg = <0xff0000 0x10000>;
|
||||||
read-only;
|
read-only;
|
||||||
|
|
||||||
|
compatible = "nvmem-cells";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
cal_ath9k: calibration@1000 {
|
||||||
|
reg = <0x1000 0x440>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -54,5 +62,6 @@
|
|||||||
&wmac {
|
&wmac {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
mtd-cal-data = <&art 0x1000>;
|
nvmem-cells = <&cal_ath9k>;
|
||||||
|
nvmem-cell-names = "calibration";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user