blob: 332789026a7f1772007257d77da64a3488d010ec [file] [log] [blame]
Simon Glassfd91fc92014-10-13 23:41:48 -06001* MTD SPI driver for serial flash chips
2
3Required properties:
4- #address-cells, #size-cells : Must be present if the device has sub-nodes
5 representing partitions.
6- compatible : Should be the manufacturer and the name of the chip. Bear in
7 mind that the DT binding is not U-Boot-only, but in case of
8 U-Boot, see spi_flash_params_table table in
Jagan Teki9b6b30b2016-10-30 23:16:22 +05309 drivers/mtd/spi/spi_flash_ids.c for the list of supported chips.
Simon Glassfd91fc92014-10-13 23:41:48 -060010- reg : Chip-Select number
11- spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at
12
13Optional properties:
14 - memory-map : Address and size of the flash, if memory mapped. This may
15 apply to Intel chipsets, which tend to memory-map flash.
16
17Example:
18
19 flash: m25p80@0 {
20 #address-cells = <1>;
21 #size-cells = <1>;
22 compatible = "spansion,m25p80";
23 reg = <0>;
24 spi-max-frequency = <40000000>;
25 };