;;
esac
;;
-"ath10k/pre-cal-pci-0000:01:00.0.bin")
- case $board in
- asrock,g10)
- caldata_extract "0:art" 0x1000 0x2f20
- ;;
- esac
- ;;
"ath10k/cal-pci-0001:01:00.0.bin")
case "$board" in
asus,onhub|\
;;
esac
;;
-"ath10k/pre-cal-pci-0001:01:00.0.bin")
- case $board in
- asrock,g10)
- caldata_extract "0:art" 0x5000 0x2f20
- ;;
- edgecore,ecw5410)
- caldata_extract "0:art" 0x1000 0x2f20
- ;;
- esac
- ;;
"ath10k/cal-pci-0002:01:00.0.bin")
case "$board" in
asus,onhub|\
;;
esac
;;
-"ath10k/pre-cal-pci-0002:01:00.0.bin")
- case $board in
- edgecore,ecw5410)
- caldata_extract "0:art" 0x5000 0x2f20
- ;;
- esac
- ;;
*)
exit 1
;;
partitions {
compatible = "qcom,smem-part";
+
+ partition-0-art {
+ label = "0:art";
+ read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ precal_art_1000: pre-calibration@1000 {
+ reg = <0x1000 0x2f20>;
+ };
+
+ precal_art_5000: pre-calibration@5000 {
+ reg = <0x5000 0x2f20>;
+ };
+ };
+ };
};
};
};
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
qcom,ath10k-calibration-variant = "ASRock-G10";
+ nvmem-cells = <&precal_art_1000>;
+ nvmem-cell-names = "pre-calibration";
};
};
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
qcom,ath10k-calibration-variant = "ASRock-G10";
+ nvmem-cells = <&precal_art_5000>;
+ nvmem-cell-names = "pre-calibration";
};
};
partitions {
compatible = "qcom,smem-part";
+
+ partition-0-art {
+ label = "0:art";
+ read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ precal_art_1000: pre-calibration@1000 {
+ reg = <0x1000 0x2f20>;
+ };
+
+ precal_art_5000: pre-calibration@5000 {
+ reg = <0x5000 0x2f20>;
+ };
+ };
+ };
};
};
};
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
qcom,ath10k-calibration-variant = "Edgecore-ECW5410-L";
+ nvmem-cells = <&precal_art_1000>;
+ nvmem-cell-names = "pre-calibration";
};
};
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
qcom,ath10k-calibration-variant = "Edgecore-ECW5410-L";
+ nvmem-cells = <&precal_art_5000>;
+ nvmem-cell-names = "pre-calibration";
};
};