ath79: convert ath10k calibration data to NVMEM (binary MAC)
[openwrt/staging/dangole.git] / target / linux / ath79 / dts / qca9558_domywifi_dw33d.dts
index 73f4ed0d1e1dd0c36ad6822c538cebb590bc67c5..de44aec47d7b3223ddf8d2dca4c7112d5f25f109 100644 (file)
@@ -68,6 +68,8 @@
        wifi@0,0 {
                compatible = "qcom,ath10k";
                reg = <0 0 0 0 0>;
+               nvmem-cells = <&cal_art_5000>, <&macaddr_art_12>;
+               nvmem-cell-names = "calibration", "mac-address";
        };
 };
 
                                        macaddr_art_c: macaddr@c {
                                                reg = <0xc 0x6>;
                                        };
+
+                                       macaddr_art_12: macaddr@12 {
+                                               reg = <0x12 0x6>;
+                                       };
+
+                                       cal_art_5000: calibration@5000 {
+                                               reg = <0x5000 0x844>;
+                                       };
                                };
                        };
                };