• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1* 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
9               drivers/mtd/spi/spi_flash_ids.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
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	};
26