The latest development version of this page may be more current than this released 3.7.0 version.

zephyr,ram-disk

Vendor: Zephyr-specific binding

Description

RAM disk

Properties

Properties not inherited from the base binding file.

Name

Type

Details

memory-regions

phandle-array

List of memory region phandles

memory-region-names

string-array

A list of names, one for each corresponding phandle in memory-region

disk-name

string

Disk name.

This property is required.

sector-size

int

Disk sector size in bytes.

This property is required.

Legal values: 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536

sector-count

int

Number of sectors.

This property is required.

ram-region

phandle

Optional phandle to the memory region to be used as a RAM disk,
if not used a local buffer is defined for each disk instance.
Use it with caution as it makes memory contents easily accessible.