ath79: calibrate TP-LINK TL-WR2543ND with nvmem
[openwrt/staging/dedeckeh.git] / target / linux / ath79 / dts / ar7242_tplink_tl-wr2543-v1.dts
index 3acdc9247d86424728e115c857f0a5ecd69e436a..e250f2a5b45db8f0f125cb45b5fe9ff2fe8d31bc 100644 (file)
                                reg = <0x020000 0x7d0000>;
                        };
 
-                       partition@7f0000 {
+                       art: partition@7f0000 {
                                label = "art";
                                reg = <0x7f0000 0x010000>;
                                read-only;
                reg = <0x0000 0 0 0 0>;
                #gpio-cells = <2>;
                gpio-controller;
-               qca,no-eeprom;
-               nvmem-cells = <&macaddr_uboot_1fc00>;
-               nvmem-cell-names = "mac-address";
+               nvmem-cells = <&macaddr_uboot_1fc00>, <&cal_art_1000>;
+               nvmem-cell-names = "mac-address", "calibration";
        };
 };
 
                reg = <0x1fc00 0x6>;
        };
 };
+
+&art {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       cal_art_1000: cal@1000 {
+               reg = <0x1000 0x440>;
+       };
+};