]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - doc/device-tree-bindings/mtd/spi/spi-flash.txt
Merge branch 'master' of git://git.denx.de/u-boot-imx
[karo-tx-uboot.git] / doc / device-tree-bindings / mtd / spi / spi-flash.txt
1 * MTD SPI driver for serial flash chips
2
3 Required 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
9                drivers/mtd/spi/sf_params.c for the list of supported chips.
10 - reg : Chip-Select number
11 - spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at
12
13 Optional 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
17 Example:
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         };