ath79: use nvmem-cells for radio calibration of EAP1200H
Transition from userscript to DTS for all of ART. Signed-off-by: Michael Pratt <mcpratt@pm.me>
This commit is contained in:
parent
2c33fd39a5
commit
128947db42
3 changed files with 19 additions and 7 deletions
|
@ -89,18 +89,31 @@
|
||||||
&wmac {
|
&wmac {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
mtd-cal-data = <&art 0x1000>;
|
nvmem-cells = <&macaddr_art_0>, <&calibration_ath9k>;
|
||||||
nvmem-cells = <&macaddr_art_0>;
|
nvmem-cell-names = "mac-address", "calibration";
|
||||||
nvmem-cell-names = "mac-address";
|
|
||||||
mac-address-increment = <1>;
|
mac-address-increment = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&ath10k {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
nvmem-cells = <&macaddr_art_0>, <&calibration_ath10k>;
|
||||||
|
nvmem-cell-names = "mac-address", "calibration";
|
||||||
|
mac-address-increment = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
&art {
|
&art {
|
||||||
compatible = "nvmem-cells";
|
compatible = "nvmem-cells";
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
|
|
||||||
macaddr_art_0: macaddr@0 {
|
macaddr_art_0: macaddr@0 {
|
||||||
reg = <0x0 0x6>;
|
reg = <0x0 0x6>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
calibration_ath9k: calibration@1000 {
|
||||||
|
reg = <0x1000 0x440>;
|
||||||
|
};
|
||||||
|
|
||||||
|
calibration_ath10k: calibration@5000 {
|
||||||
|
reg = <0x5000 0x844>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
&pcie0 {
|
&pcie0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
wifi@0,0,0 {
|
ath10k: wifi@0,0,0 {
|
||||||
compatible = "qcom,ath10k";
|
compatible = "qcom,ath10k";
|
||||||
reg = <0x0 0 0 0 0>;
|
reg = <0x0 0 0 0 0>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -13,7 +13,6 @@ case "$FIRMWARE" in
|
||||||
allnet,all-wap02860ac|\
|
allnet,all-wap02860ac|\
|
||||||
araknis,an-500-ap-i-ac|\
|
araknis,an-500-ap-i-ac|\
|
||||||
araknis,an-700-ap-i-ac|\
|
araknis,an-700-ap-i-ac|\
|
||||||
engenius,eap1200h|\
|
|
||||||
engenius,enstationac-v1|\
|
engenius,enstationac-v1|\
|
||||||
glinet,gl-x750|\
|
glinet,gl-x750|\
|
||||||
watchguard,ap300)
|
watchguard,ap300)
|
||||||
|
|
Loading…
Reference in a new issue