This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

zephyr,emu-eeprom

Vendor: Zephyr-specific binding

Description

Zephyr Emulated EEPROM device

Properties

Properties not inherited from the base binding file.

Name

Type

Details

size

int

Total EEPROM size in bytes

This property is required.

pagesize

int

Size of a page used to emulate EEPROM in flash

This property is required.

partition

phandle

Flash partition used to store the emulated EEPROM data

This property is required.

rambuf

boolean

Enable a ram buffer of EEPROM size for improved read speed

partition-erase

boolean

Delay erase until complete partition is used. This enables a
ram buffer to allow data to be copied during the partition erase. If
power is lost during the partition erase the data will be lost.

read-only

boolean

Disable writes to the EEPROM