Lines Matching +full:data +full:- +full:bus +full:- +full:gpios

2 # SPDX-License-Identifier: Apache-2.0
7 Representation of a serial flash on a octospi bus:
9 mx25lm51245: ospi-nor-flash@70000000 {
10 compatible = "st,stm32-ospi-nor";
12 data-mode = <OSPI_OPI_MODE>; /* access on 8 data lines */
13 data-rate = <OSPI_DTR_TRANSFER>; /* access in DTR */
14 ospi-max-frequency = <DT_FREQ_M(50)>;
18 compatible: "st,stm32-ospi-nor"
20 include: ["flash-controller.yaml", "jedec,jesd216.yaml"]
22 on-bus: ospi
28 ospi-max-frequency:
32 reset-gpios:
33 type: phandle-array
35 reset-gpios-duration:
38 spi-bus-width:
42 The width of (Octo)SPI bus to which flash memory is connected.
45 - OSPI_SPI_MODE <1> = SPI mode on 1 data line
46 - OSPI_DUAL_MODE <2> = Dual mode on 2 data lines
47 - OSPI_QUAD_MODE <4> = Quad mode on 4 data lines
48 - OSPI_OPI_MODE <8> = Octo mode on 8 data lines
50 - 1
51 - 2
52 - 4
53 - 8
54 data-rate:
58 The SPI data Rate is STR or DTR
61 - OSPI_STR_TRANSFER <1> = Single Rate Transfer
62 - OSPI_DTR_TRANSFER <2> = Dual Rate Transfer (only with OSPI_OPI_MODE)
64 - 1
65 - 2
69 - "PP" # Page program, PP (0x02) up to 256 bytes
70 - "PP_1_1_2" # Dual page program, PP 1-1-2 (0xA2)
71 - "PP_1_1_4" # Quad data line SPI, PP 1-1-4 (0x32)
72 - "PP_1_4_4" # Quad data line SPI, PP 1-4-4 (0x38)
75 address, and data.
79 supporting 1-4-4 mode also would support fast page programming.
84 `spi-bus-width`:
86 * OSPI_SPI_MODE -> PP 1-1-1 (0x02)
87 * OSPI_DUAL_MODE -> PP 1-1-2 (0xA2)
88 * OSPI_QUAD_MODE -> PP 1-4-4 (0x38)
89 four-byte-opcodes:
92 Some NOR-Flash ICs use different opcodes when operating in
98 * PP 1-1-1 (0x02) -> PP 1-1-1 4B (0x12)
99 * PP 1-1-4 (0x32) -> PP 1-1-4 4B (0x34)
100 * PP 1-4-4 (0x38) -> PP 1-4-4 4B (0x3E)
102 * READ 1-1-1 (0x03) -> READ 1-1-1 4B (0x13)
103 * READ FAST 1-1-1 (0x0B) -> READ FAST 1-1-1 4B (0x0C)
104 * DREAD 1-1-2 (0x3B) -> DREAD 1-1-2 4B (0x3C)
105 * 2READ 1-2-2 (0xBB) -> 2READ 1-2-2 4B (0xBC)
106 * QREAD 1-1-4 (0x6B) -> QREAD 1-1-4 4B (0x6C)
107 * 4READ 1-4-4 (0xEB) -> 4READ 1-4-4 4B (0xEC)