1# Copyright (c) 2019 Laczen 2# SPDX-License-Identifier: Apache-2.0 3 4description: Zephyr Emulated EEPROM device 5 6compatible: "zephyr,emu-eeprom" 7 8include: eeprom-base.yaml 9 10properties: 11 size: 12 required: true 13 pagesize: 14 type: int 15 required: true 16 description: Size of a page used to emulate EEPROM in flash 17 partition: 18 type: phandle 19 required: true 20 description: Flash partition used to store the emulated EEPROM data 21 rambuf: 22 type: boolean 23 description: Enable a ram buffer of EEPROM size for improved read speed 24 partition-erase: 25 type: boolean 26 description: | 27 Delay erase until complete partition is used. This enables a 28 ram buffer to allow data to be copied during the partition erase. If 29 power is lost during the partition erase the data will be lost. 30