ath79: convert ath10k pre-calibration data to NVMEM (ASCII MAC)
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_tplink_deco-s4-v2.dts
index e4bb88807ebf248bebd1577fdf2575b55414d986..9c731ad99692a4c59f96f3d540914d31a993b791 100644 (file)
 
 &pcie {
        status = "okay";
+
+       wifi@0,0 {
+               compatible = "qcom,ath10k";
+               reg = <0x0000 0 0 0 0>;
+               nvmem-cells = <&precal_art_5000>;
+               nvmem-cell-names = "pre-calibration";
+       };
 };
 
 &mdio0 {
                                label = "art";
                                reg = <0x1f0000 0x10000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       precal_art_5000: pre-calibration@5000 {
+                                               reg = <0x5000 0x2f20>;
+                                       };
+                               };
                        };
 
                        partition@200000 {