ath79: convert ath10k calibration data to NVMEM (binary MAC)
[openwrt/staging/dangole.git] / target / linux / ath79 / dts / qca9563_glinet_gl-ar750s.dtsi
index 09d2f48c2aa7ed8993afc8502ff326bef3689dcf..da9e7ee867e4899eac4e8179da4a8d4263445dd4 100644 (file)
                                        #size-cells = <1>;
 
                                        macaddr_art_0: macaddr@0 {
+                                               compatible = "mac-base";
                                                reg = <0x0 0x6>;
+                                               #nvmem-cell-cells = <1>;
+                                       };
+
+                                       cal_art_5000: calibration@5000 {
+                                               reg = <0x5000 0x844>;
                                        };
                                };
                        };
        status = "okay";
 
        phy-handle = <&phy0>;
-       nvmem-cells = <&macaddr_art_0>;
+       nvmem-cells = <&macaddr_art_0 0>;
        nvmem-cell-names = "mac-address";
 };
 
 
 &pcie {
        status = "okay";
+
+       wifi@0,0 {
+               compatible = "qcom,ath10k";
+               reg = <0x0000 0 0 0 0>;
+               nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 1>;
+               nvmem-cell-names = "calibration", "mac-address";
+       };
 };
 
 &usb0 {