blob: 2c91c03e7eb0265e1c7db5edc4d548600555e613 [file] [log] [blame]
Brian Norris1d158312015-11-16 14:34:52 -08001* SPI NOR flash: ST M25Pxx (and similar) serial flash chips
Marek Vasut12ad2be2012-09-24 03:39:39 +02002
3Required properties:
4- #address-cells, #size-cells : Must be present if the device has sub-nodes
5 representing partitions.
Brian Norris8ff16cf2015-03-27 10:29:49 -07006- compatible : May include a device-specific string consisting of the
Brian Norris1d158312015-11-16 14:34:52 -08007 manufacturer and name of the chip. A list of supported chip
8 names follows.
Brian Norris8947e392015-05-14 10:32:53 -07009 Must also include "jedec,spi-nor" for any SPI NOR flash that can
10 be identified by the JEDEC READ ID opcode (0x9F).
Brian Norris1d158312015-11-16 14:34:52 -080011
12 Supported chip names:
13 at25df321a
14 at25df641
15 at26df081a
16 mr25h256
17 mx25l4005a
18 mx25l1606e
19 mx25l6405d
20 mx25l12805d
21 mx25l25635e
22 n25q064
23 n25q128a11
24 n25q128a13
25 n25q512a
26 s25fl256s1
27 s25fl512s
28 s25sl12801
29 s25fl008k
30 s25fl064k
31 sst25vf040b
32 m25p40
33 m25p80
34 m25p16
35 m25p32
36 m25p64
37 m25p128
38 w25x80
39 w25x32
40 w25q32
41 w25q32dw
42 w25q80bl
43 w25q128
44 w25q256
45
46 The following chip names have been used historically to
47 designate quirky versions of flash chips that do not support the
48 JEDEC READ ID opcode (0x9F):
49 m25p05-nonjedec
50 m25p10-nonjedec
51 m25p20-nonjedec
52 m25p40-nonjedec
53 m25p80-nonjedec
54 m25p16-nonjedec
55 m25p32-nonjedec
56 m25p64-nonjedec
57 m25p128-nonjedec
58
Marek Vasut12ad2be2012-09-24 03:39:39 +020059- reg : Chip-Select number
60- spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at
61
62Optional properties:
63- m25p,fast-read : Use the "fast read" opcode to read data from the chip instead
64 of the usual "read" opcode. This opcode is not supported by
65 all chips and support for it can not be detected at runtime.
66 Refer to your chips' datasheet to check if this is supported
67 by your chip.
68
69Example:
70
71 flash: m25p80@0 {
72 #address-cells = <1>;
73 #size-cells = <1>;
Brian Norris8947e392015-05-14 10:32:53 -070074 compatible = "spansion,m25p80", "jedec,spi-nor";
Marek Vasut12ad2be2012-09-24 03:39:39 +020075 reg = <0>;
76 spi-max-frequency = <40000000>;
77 m25p,fast-read;
78 };