]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt
ASoC: cs42l52: Improve two size determinations in cs42l52_i2c_probe()
[mirror_ubuntu-jammy-kernel.git] / Documentation / devicetree / bindings / mtd / jedec,spi-nor.txt
1 * SPI NOR flash: ST M25Pxx (and similar) 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 : May include a device-specific string consisting of the
7 manufacturer and name of the chip. A list of supported chip
8 names follows.
9 Must also include "jedec,spi-nor" for any SPI NOR flash that can
10 be identified by the JEDEC READ ID opcode (0x9F).
11
12 Supported chip names:
13 at25df321a
14 at25df641
15 at26df081a
16 en25s64
17 mr25h128
18 mr25h256
19 mr25h10
20 mr25h40
21 mx25l4005a
22 mx25l1606e
23 mx25l6405d
24 mx25l12805d
25 mx25l25635e
26 n25q064
27 n25q128a11
28 n25q128a13
29 n25q512a
30 s25fl256s1
31 s25fl512s
32 s25sl12801
33 s25fl008k
34 s25fl064k
35 sst25vf040b
36 sst25wf040b
37 m25p40
38 m25p80
39 m25p16
40 m25p32
41 m25p64
42 m25p128
43 w25x80
44 w25x32
45 w25q32
46 w25q64
47 w25q32dw
48 w25q80bl
49 w25q128
50 w25q256
51
52 The following chip names have been used historically to
53 designate quirky versions of flash chips that do not support the
54 JEDEC READ ID opcode (0x9F):
55 m25p05-nonjedec
56 m25p10-nonjedec
57 m25p20-nonjedec
58 m25p40-nonjedec
59 m25p80-nonjedec
60 m25p16-nonjedec
61 m25p32-nonjedec
62 m25p64-nonjedec
63 m25p128-nonjedec
64
65 - reg : Chip-Select number
66 - spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at
67
68 Optional properties:
69 - m25p,fast-read : Use the "fast read" opcode to read data from the chip instead
70 of the usual "read" opcode. This opcode is not supported by
71 all chips and support for it can not be detected at runtime.
72 Refer to your chips' datasheet to check if this is supported
73 by your chip.
74
75 Example:
76
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 };