&pcie {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
+ };
};
&spi {
macaddr_art_0: macaddr@0 {
reg = <0x0 0x6>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
reg = <0x1002 0x6>;
#nvmem-cell-cells = <1>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
wifi@0,0 {
compatible = "qcom,ath10k";
reg = <0 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
};
};
macaddr_art_6: macaddr@6 {
reg = <0x6 0x6>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
+ };
};
&wmac {
};
};
+&pcie0 {
+ /delete-node/ wifi@0,0;
+};
+
&usb_phy {
status = "okay";
};
};
};
+&pcie0 {
+ /delete-node/ wifi@0,0;
+};
+
&usb_phy {
status = "okay";
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
+ };
};
&spi {
reg = <0x400 0x6>;
#nvmem-cell-cells = <1>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
macaddr_art_6: macaddr@6 {
reg = <0x6 0x6>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
+ };
};
&wmac {
label = "urlader";
reg = <0x0 0x20000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_urlader_198a: calibration@198a {
+ reg = <0x198a 0x844>;
+ };
+ };
};
partition@20000 {
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_urlader_198a>;
+ nvmem-cell-names = "calibration";
+ };
};
&phy0 {
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_urlader_198a>;
+ nvmem-cell-names = "calibration";
+ };
};
&gpio {
model = "Comfast CF-WR650AC v1";
};
+&pcie0 {
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
+ };
+};
+
&spi {
status = "okay";
macaddr_art_18: macaddr@18 {
reg = <0x18 0x6>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
model = "Comfast CF-WR650AC v2";
};
+&pcie0 {
+ status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
+ };
+};
+
&spi {
status = "okay";
macaddr_art_18: macaddr@18 {
reg = <0x18 0x6>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
+ };
};
&spi {
label = "art";
reg = <0x050000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
config: partition@60000 {
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
+ };
};
&spi {
label = "art";
reg = <0x050000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
config: partition@60000 {
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
+ };
};
&spi {
macaddr_art_0: macaddr@0 {
reg = <0x0 0x6>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
&pcie {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
+ };
};
&spi {
macaddr_art_1002: macaddr@1002 {
reg = <0x1002 0x6>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
&pcie {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
+ };
};
&spi {
macaddr_art_1002: macaddr@1002 {
reg = <0x1002 0x6>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
&pcie {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
+ };
};
&spi {
label = "art";
reg = <0x060000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
};
&pcie {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
+ };
};
&spi {
macaddr_art_0: macaddr@0 {
reg = <0x0 0x6>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
&pcie {
wifi@0,0 {
- /delete-property/ nvmem-cells;
- /delete-property/ nvmem-cell-names;
+ nvmem-cells = <&cal_art_5000>;
+ nvmem-cell-names = "calibration";
};
};
reg = <0x0 0x6>;
};
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+
precal_art_5000: pre-calibration@5000 {
reg = <0x5000 0x2f20>;
};
caldata_extract "art" 0x5000 0x844
ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x0) 2)
;;
- asus,pl-ac56|\
- asus,rp-ac66|\
- comfast,cf-wr650ac-v1|\
- comfast,cf-wr650ac-v2|\
- devolo,dlan-pro-1200plus-ac|\
- devolo,magic-2-wifi|\
- joyit,jt-or750i|\
- qxwlan,e1700ac-v2-8m|\
- qxwlan,e1700ac-v2-16m|\
- qxwlan,e600gac-v2-8m|\
- qxwlan,e600gac-v2-16m|\
- sophos,ap15|\
- sophos,ap55|\
- sophos,ap55c|\
- sophos,ap100|\
- sophos,ap100c|\
- ubnt,bullet-ac|\
- ubnt,uk-ultra|\
- ubnt,unifiac-lite|\
- ubnt,unifiac-lr|\
- ubnt,unifiac-mesh|\
- ubnt,unifiac-mesh-pro|\
- ubnt,lap-120|\
- ubnt,litebeam-ac-gen2|\
- ubnt,nanobeam-ac|\
- ubnt,nanobeam-ac-gen2|\
- ubnt,nanobeam-ac-xc|\
- ubnt,nanostation-ac|\
- ubnt,nanostation-ac-loco|\
- ubnt,powerbeam-5ac-500|\
- ubnt,powerbeam-5ac-gen2|\
- ubnt,rocket-5ac-lite|\
- ubnt,unifiac-pro|\
- yuncore,a770|\
- yuncore,xd3200)
- caldata_extract "art" 0x5000 0x844
- ;;
- avm,fritz1750e|\
- avm,fritzdvbc)
- caldata_extract "urlader" 0x198a 0x844
- ;;
devolo,dvl1200e|\
devolo,dvl1200i|\
devolo,dvl1750c|\