ath79: convert ath10k calibration data to NVMEM (ASCII MAC)
[openwrt/staging/nbd.git] / target / linux / ath79 / dts / qca9531_engenius_ews511ap.dts
index 6fd28d5b3637b09f4810b7c8fce61dd2dc3d8024..07b0655e354a9e8ebfcfccce207b48187514d605 100644 (file)
 
 &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>;
+                                       };
+                               };
                        };
 
                        partition@60000 {