ath79: calibrate nand netgear wndrxxxx with nvmem
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9344_netgear_wndr.dtsi
index 077bbe4bf11626fb72ac49c0393cbbc62a42b825..331a4c6fa32c867af855da288882eca2a59bbcfa 100644 (file)
 &wmac {
        status = "okay";
 
-       nvmem-cells = <&macaddr_caldata_0>;
-       nvmem-cell-names = "mac-address";
-       qca,no-eeprom;
+       nvmem-cells = <&macaddr_caldata_0>, <&cal_art_1000>;
+       nvmem-cell-names = "mac-address", "calibration";
 };
 
 &pcie {
        ath9k: wifi@0,0 {
                compatible = "pci168c,0033";
                reg = <0x0000 0 0 0 0>;
-               nvmem-cells = <&macaddr_caldata_c>;
-               nvmem-cell-names = "mac-address";
-               qca,no-eeprom;
+               nvmem-cells = <&macaddr_caldata_c>, <&cal_art_5000>;
+               nvmem-cell-names = "mac-address", "calibration";
                #gpio-cells = <2>;
                gpio-controller;
        };
        macaddr_caldata_c: macaddr@c {
                reg = <0xc 0x6>;
        };
+
+       cal_art_1000: cal@1000 {
+               reg = <0x1000 0x440>;
+       };
+
+       cal_art_5000: cal@5000 {
+               reg = <0x5000 0x440>;
+       };
 };