spi-flash.txt 890 B

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