zephyr,flash-disk

Vendor: Zephyr-specific binding

Note

An implementation of a driver matching this compatible is available in drivers/disk/flashdisk.c.

Description

Block storage device on flash partition

Properties

Properties not inherited from the base binding file.

Name

Type

Details

partition

phandle

Backing storage flash map partition.

This property is required.

disk-name

string

Disk name.

This property is required.

sector-size

int

Emulated block device sector size in bytes.

Default value: 512

cache-size

int

Size of statically allocated buffer size in bytes. The size should be
adequately chosen. On storage backends with uniform erase-blocks it
should be at least the erase-block-size, on storage backends with
non-uniform erase-blocks it should be at least the largest
erase-block-size. The cache-size property is ignored if the partition
is read-only.

This property is required.