Skip to content

Commit 807bf9d

Browse files
GeorgeCGVmbolivar-nordic
authored andcommitted
dts: bindings: flash_controller: stm32-qspi-nor: add writeoc property
Adds writeoc property to allow quad write opcode selection. Signed-off-by: Georgij Cernysiov <[email protected]>
1 parent c2dfeb1 commit 807bf9d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

dts/bindings/flash_controller/st,stm32-qspi-nor.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,18 @@ properties:
4949
required: false
5050
description: The width of (Q)SPI bus to which flash memory is connected.
5151
Now only value of 4 (when using SIO[0123]) is supported.
52+
writeoc:
53+
type: string
54+
required: false
55+
enum:
56+
- "PP_1_1_4" # Quad data line SPI, PP 1-1-4 (0x32)
57+
- "PP_1_4_4" # Quad data line SPI, PP 1-4-4 (0x38)
58+
description: |
59+
The value encodes number of I/O lines used for the opcode,
60+
address, and data.
61+
62+
There is no info about quad page program opcodes in the SFDP
63+
tables, hence it has been assumed that NOR flash memory
64+
supporting 1-4-4 mode also would support fast page programming.
65+
66+
If absent, then 1-4-4 program page is used in quad mode.

0 commit comments

Comments
 (0)