ath79: convert ath10k calibration data to NVMEM (binary MAC)
[openwrt/staging/svanheule.git] / target / linux / ath79 / dts / qca9558_tplink_archer-c5-v1.dts
index d41b065c27e049ec12e4e2f707b41c43359de7bf..584a66ba524b18027debe46c03dd74bf4fbb4132 100644 (file)
                label = "art";
                reg = <0xff0000 0x010000>;
                read-only;
+
+               nvmem-layout {
+                       compatible = "fixed-layout";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       cal_art_5000: calibration@5000 {
+                               reg = <0x5000 0x844>;
+                       };
+               };
        };
 };
 
        nvmem-cell-names = "mac-address";
 };
 
+&pcie1 {
+       wifi@0,0 {
+               compatible = "qcom,ath10k";
+               reg = <0x0000 0 0 0 0>;
+               nvmem-cells = <&cal_art_5000>, <&macaddr_uboot_1fc00 (-1)>;
+               nvmem-cell-names = "calibration", "mac-address";
+       };
+};
+
 &wmac {
        mtd-cal-data = <&art 0x1000>;