ath79: qca: convert to nvmem-layout
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9557_dlink_dap-2660-a1.dts
index 039007942631b1c127229d7dbb019c09602f23c7..b380fef5152ce48ab28e0f5c2b88865e154a70ac 100644 (file)
 
 &pcie0 {
        status = "okay";
+
+       wifi@0,0 {
+               compatible = "qcom,ath10k";
+               reg = <0 0 0 0 0>;
+
+               nvmem-cells = <&cal_ath10k>;
+               nvmem-cell-names = "calibration";
+       };
+};
+
+&art {
+       nvmem-layout {
+               compatible = "fixed-layout";
+               #address-cells = <1>;
+               #size-cells = <1>;
+
+               cal_ath9k: calibration@1000 {
+                       reg = <0x1000 0x440>;
+               };
+
+               cal_ath10k: calibration@5000 {
+                       reg = <0x5000 0x844>;
+               };
+       };
 };