Skip to content

Commit 72370b2

Browse files
FRASTMaescolar
authored andcommitted
dts: bindings: flash_controller stm32 qspi has requires-ulbpr property
Add the <requires-ulbpr> property from the "jedec,spi-nor-common.yaml" to the existing st,stm32-qspi-nor.yaml. So that external quad-NOR with unlock the Global Block Protection (BPR) (opcode 0x98) is accepted. Signed-off-by: Francois Ramu <[email protected]>
1 parent 9ae3105 commit 72370b2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,13 @@ properties:
6161
supporting 1-4-4 mode also would support fast page programming.
6262
6363
If absent, then 1-4-4 program page is used in quad mode.
64+
65+
requires-ulbpr:
66+
type: boolean
67+
description: |
68+
Indicates the device requires the ULBPR (0x98) command.
69+
70+
Some flash chips such as the Microchip SST26VF series have a block
71+
protection register that initializes to write-protected. Use this
72+
property to indicate that the BPR must be unlocked before write
73+
operations can proceed.

0 commit comments

Comments
 (0)