The following configuration reduces the rewrite frequency by storing more records per type:
# Storage enabled with persistent backend
CONFIG_APP_STORAGE=y
CONFIG_APP_STORAGE_BACKEND_LITTLEFS=y
# Higher record count reduces rewrite frequency
CONFIG_APP_STORAGE_MAX_RECORDS_PER_TYPE=50
To improve wear leveling further, grow the littlefs_storage partition in att_flash_partitions.dtsi, so the writes are spread across more flash blocks. For the exact devicetree snippet to edit, see Partition sizing.