ath79: convert ath10k calibration data to NVMEM (ASCII MAC)
[openwrt/staging/dangole.git] / target / linux / ath79 / dts / ar9344_qihoo_c301.dts
index d7e2e242394bac4eaf6f2f1c924c4b84e1188492..8241c21dd07fda3396775e3a8590e1abeaa171ac 100644 (file)
                                label = "radiocfg";
                                reg = <0xff0000 0x10000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       cal_radiocfg_5000: calibration@5000 {
+                                               reg = <0x5000 0x844>;
+                                       };
+                               };
                        };
                };
        };
        wifi@0,0 {
                compatible = "qcom,ath10k";
                reg = <0 0 0 0 0>;
+               nvmem-cells = <&cal_radiocfg_5000>;
+               nvmem-cell-names = "calibration";
        };
 };