ath79: convert ath10k calibration data to NVMEM (binary MAC)
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9558_allnet_all-wap02860ac.dts
index a6197fd25ae3d4ee0a1cbc3b20b18ad013eb2a9f..9001e3fb866dbefc23cae32e81af845591b222ad 100644 (file)
                                reg = <0x0 0x6>;
                                #nvmem-cell-cells = <1>;
                        };
+
+                       cal_art_5000: calibration@5000 {
+                               reg = <0x5000 0x844>;
+                       };
                };
        };
 };
 
 &pcie0 {
        status = "okay";
+
+       wifi@0,0 {
+               compatible = "qcom,ath10k";
+               reg = <0x0000 0 0 0 0>;
+               nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>;
+               nvmem-cell-names = "calibration", "mac-address";
+       };
 };