ath79: convert ath10k calibration data to NVMEM (built-in MAC)
[openwrt/staging/dangole.git] / target / linux / ath79 / dts / qca9558_comfast_cf-wr650ac-v2.dts
index 9bbbf2a9b40db30578f353fcf8989db764d4095d..a4aa4118faf29ae6b850e6961979c013bf37028a 100644 (file)
@@ -7,6 +7,17 @@
        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>;
+                                       };
                                };
                        };