ath79: convert ath10k pre-calibration data to NVMEM (built-in MAC)
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9531_asus_rp-ac51.dts
index b2777f6cc6fb9c8decb90081f5772bebdb29181a..cdc365beb77c4bce977b5e877b5cea9081d8c1b7 100644 (file)
 
 &pcie0 {
        status = "okay";
+
+       wifi@0,0 {
+               compatible = "qcom,ath10k";
+               reg = <0x0000 0 0 0 0>;
+               nvmem-cells = <&precal_art_5000>;
+               nvmem-cell-names = "pre-calibration";
+       };
 };
 
 &spi {
                                        macaddr_art_1002: macaddr@1002 {
                                                reg = <0x1002 0x6>;
                                        };
+
+                                       precal_art_5000: pre-calibration@5000 {
+                                               reg = <0x5000 0x2f20>;
+                                       };
                                };
                        };