ath79: convert ath10k pre-calibration data to NVMEM (ASCII MAC)
[openwrt/staging/svanheule.git] / target / linux / ath79 / dts / qca9563_phicomm_k2t.dts
index 9dbb291295fa8be5465e7a14af2b375eff8e8bee..5befbb16086d0f6bbc5e15fd70be591735c6d3f4 100644 (file)
 
 &pcie {
        status = "okay";
+
+       wifi@0,0 {
+               compatible = "qcom,ath10k";
+               reg = <0x0000 0 0 0 0>;
+               nvmem-cells = <&precal_art_5000>;
+               nvmem-cell-names = "pre-calibration";
+       };
 };
 
 &spi {
                                label = "art";
                                reg = <0xff0000 0x010000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       precal_art_5000: pre-calibration@5000 {
+                                               reg = <0x5000 0x2f20>;
+                                       };
+                               };
                        };
                };
        };