dts: bindings: Introduce flash erase-block-size property

Adds a new optional dts property to define the erase block size of a
flash device. This will be used by the mcux flash driver to implement
the flash page layout function.

The value is set for all kinetis devices to match
FSL_FEATURE_FLASH_PFLASH_BLOCK_SECTOR_SIZE.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
Maureen Helm 2018-01-31 13:55:35 -06:00 committed by Kumar Gala
commit f633c0f997
6 changed files with 12 additions and 1 deletions

View file

@ -78,7 +78,7 @@
compatible = "soc-nv-flash";
label = "MCUX_FLASH";
reg = <0 0x100000>;
erase-block-size = <4096>;
write-block-size = <8>;
};
};