zephyr,emu-eeprom

Vendor: Zephyr-specific binding

Note

An implementation of a driver matching this compatible is available in drivers/eeprom/eeprom_emulator.c.

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.

read-only

boolean

Disable writes to the EEPROM

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.