ath79: convert ath10k calibration data to NVMEM (binary MAC)
[openwrt/staging/stintel.git] / target / linux / ath79 / dts / qca9561_tplink_archer-c25-v1.dts
index 6179e621bf74f2162d7eff8be353b7388c526cbf..3e87bebd1468279a177cc322df4b3f4e9e867cf7 100644 (file)
                                label = "art";
                                reg = <0x7f0000 0x010000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       cal_art_5000: calibration@5000 {
+                                               reg = <0x5000 0x844>;
+                                       };
+                               };
                        };
                };
        };
 
 &pcie {
        status = "okay";
+
+       wifi@0,0 {
+               compatible = "qcom,ath10k";
+               reg = <0x0000 0 0 0 0>;
+               nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 (-1)>;
+               nvmem-cell-names = "calibration", "mac-address";
+       };
 };
 
 &eth0 {