ath79: D-Link DAP-2xxx (QCA953x): convert ath9k caldata to nvmem
[openwrt/staging/nbd.git] / target / linux / ath79 / dts / qca953x_dlink_dap-2xxx.dtsi
index 59c09dbe1b62a8843d3aa3090ee7c161b4d8886b..13d41f7bd57d567374b4d94c990b6e8bfa49d302 100644 (file)
                                read-only;
                        };
 
-                       art: partition@ff0000 {
+                       partition@ff0000 {
                                label = "art";
                                reg = <0xff0000 0x10000>;
                                read-only;
+
+                               compatible = "nvmem-cells";
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+
+                               cal_ath9k: calibration@1000 {
+                                       reg = <0x1000 0x440>;
+                               };
                        };
                };
        };
@@ -54,5 +62,6 @@
 &wmac {
        status = "okay";
 
-       mtd-cal-data = <&art 0x1000>;
+       nvmem-cells = <&cal_ath9k>;
+       nvmem-cell-names = "calibration";
 };