ath79: convert ath10k calibration data to NVMEM (binary MAC)
[openwrt/staging/svanheule.git] / target / linux / ath79 / dts / qca9558_tplink_archer-d7b-v1.dts
index 7094077bc6f1844a0c1a5c4dc0942bd07835c2c2..3418601c41e126c37ac1695e816c812def1f5ece 100644 (file)
        };
 };
 
+&pcie1 {
+       wifi@0,0 {
+               compatible = "qcom,ath10k";
+               reg = <0x0000 0 0 0 0>;
+               nvmem-cells = <&cal_art_5000>, <&macaddr_romfs_f100 2>;
+               nvmem-cell-names = "calibration", "mac-address";
+       };
+};
+
 &spi {
        status = "okay";
 
                                label = "art";
                                reg = <0xff0000 0x010000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       cal_art_5000: calibration@5000 {
+                                               reg = <0x5000 0x844>;
+                                       };
+                               };
                        };
                };
        };