ath79: convert ath10k pre-calibration data to NVMEM (binary MAC)
[openwrt/staging/dangole.git] / target / linux / ath79 / dts / qca9531_comfast_cf-ew72.dts
index f725ab1faa29288442a59f45fe09cd9878d103b1..88a3eccb2b3cc0ad9b84daae2f40914cf5cc14e8 100644 (file)
 
 &pcie0 {
        status = "okay";
+
+       wifi@0,0 {
+               compatible = "qcom,ath10k";
+               reg = <0x0000 0 0 0 0>;
+               nvmem-cells = <&precal_art_5000>, <&macaddr_art_0 2>;
+               nvmem-cell-names = "pre-calibration", "mac-address";
+       };
 };
 
 &spi {
                                                reg = <0x0 0x6>;
                                                #nvmem-cell-cells = <1>;
                                        };
+
+                                       precal_art_5000: pre-calibration@5000 {
+                                               reg = <0x5000 0x2f20>;
+                                       };
                                };
                        };