jedec,spi-nor.txt 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. * SPI NOR flash: ST M25Pxx (and similar) 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 : May include a device-specific string consisting of the
  6. manufacturer and name of the chip. A list of supported chip
  7. names follows.
  8. Must also include "jedec,spi-nor" for any SPI NOR flash that can
  9. be identified by the JEDEC READ ID opcode (0x9F).
  10. Supported chip names:
  11. at25df321a
  12. at25df641
  13. at26df081a
  14. mr25h128
  15. mr25h256
  16. mr25h10
  17. mr25h40
  18. mx25l4005a
  19. mx25l1606e
  20. mx25l6405d
  21. mx25l12805d
  22. mx25l25635e
  23. n25q064
  24. n25q128a11
  25. n25q128a13
  26. n25q512a
  27. s25fl256s1
  28. s25fl512s
  29. s25sl12801
  30. s25fl008k
  31. s25fl064k
  32. sst25vf040b
  33. m25p40
  34. m25p80
  35. m25p16
  36. m25p32
  37. m25p64
  38. m25p128
  39. w25x80
  40. w25x32
  41. w25q32
  42. w25q64
  43. w25q32dw
  44. w25q80bl
  45. w25q128
  46. w25q256
  47. The following chip names have been used historically to
  48. designate quirky versions of flash chips that do not support the
  49. JEDEC READ ID opcode (0x9F):
  50. m25p05-nonjedec
  51. m25p10-nonjedec
  52. m25p20-nonjedec
  53. m25p40-nonjedec
  54. m25p80-nonjedec
  55. m25p16-nonjedec
  56. m25p32-nonjedec
  57. m25p64-nonjedec
  58. m25p128-nonjedec
  59. - reg : Chip-Select number
  60. - spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at
  61. Optional properties:
  62. - m25p,fast-read : Use the "fast read" opcode to read data from the chip instead
  63. of the usual "read" opcode. This opcode is not supported by
  64. all chips and support for it can not be detected at runtime.
  65. Refer to your chips' datasheet to check if this is supported
  66. by your chip.
  67. - broken-flash-reset : Some flash devices utilize stateful addressing modes
  68. (e.g., for 32-bit addressing) which need to be managed
  69. carefully by a system. Because these sorts of flash don't
  70. have a standardized software reset command, and because some
  71. systems don't toggle the flash RESET# pin upon system reset
  72. (if the pin even exists at all), there are systems which
  73. cannot reboot properly if the flash is left in the "wrong"
  74. state. This boolean flag can be used on such systems, to
  75. denote the absence of a reliable reset mechanism.
  76. Example:
  77. flash: m25p80@0 {
  78. #address-cells = <1>;
  79. #size-cells = <1>;
  80. compatible = "spansion,m25p80", "jedec,spi-nor";
  81. reg = <0>;
  82. spi-max-frequency = <40000000>;
  83. m25p,fast-read;
  84. };