ath79: convert ath10k calibration data to NVMEM (ASCII MAC)
[openwrt/staging/dangole.git] / target / linux / ath79 / dts / qca9557_extreme-networks_ws-ap3805i.dts
index 8b1477b5937ba3cec8dbdc17c07b041289ffa2c0..686a4745175f7291a1fe03b59f6c6a5f064d0423 100644 (file)
@@ -7,7 +7,7 @@
 
 / {
        compatible = "extreme-networks,ws-ap3805i", "qca,qca9557";
-       model = "Extreme Networks AP3805i";
+       model = "Extreme Networks WS-AP3805i";
 
        aliases {
                led-boot = &led_power_green;
 &pcie0 {
        status = "okay";
 
-       wifi@0,0,0 {
+       wifi@0,0 {
                compatible = "qcom,ath10k";
                reg = <0x0 0 0 0 0>;
+               nvmem-cells = <&cal_art_5000>;
+               nvmem-cell-names = "calibration";
        };
 };
 
                                label = "art";
                                reg = <0x3fc0000 0x40000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       cal_art_5000: calibration@5000 {
+                                               reg = <0x5000 0x844>;
+                                       };
+                               };
                        };
                };
        };