ipq806x: utilize nvmem-cells for pre-calibration data
[openwrt/openwrt.git] / target / linux / ipq806x / files / arch / arm / boot / dts / qcom-ipq8062-wg2600hp3.dts
index 8f1bb74540f2a9450bd521735aa8b5792e747e06..c1c21856ca5fb04ec9889aa4b1adc41ef045cddb 100644 (file)
                                        label = "ART";
                                        reg = <0x02e0000 0x0040000>;
                                        read-only;
+                                       compatible = "nvmem-cells";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       precal_ART_1000: precal@1000 {
+                                               reg = <0x1000 0x2f20>;
+                                       };
+
+                                       precal_ART_5000: precal@5000 {
+                                               reg = <0x5000 0x2f20>;
+                                       };
                                };
 
                                partition@320000 {
 
                        qcom,ath10k-calibration-variant = "NEC-Platforms-WG2600HP3";
 
-                       nvmem-cells = <&macaddr_PRODUCTDATA_12>;
-                       nvmem-cell-names = "mac-address";
+                       nvmem-cells = <&macaddr_PRODUCTDATA_12>, <&precal_ART_1000>;
+                       nvmem-cell-names = "mac-address", "pre-calibration";
                };
        };
 };
                        ieee80211-freq-limit = <2400000 2483000>;
                        qcom,ath10k-calibration-variant = "NEC-Platforms-WG2600HP3";
 
-                       nvmem-cells = <&macaddr_PRODUCTDATA_c>;
-                       nvmem-cell-names = "mac-address";
+                       nvmem-cells = <&macaddr_PRODUCTDATA_c>, <&precal_ART_5000>;
+                       nvmem-cell-names = "mac-address", "pre-calibration";
                };
        };
 };