Skip to content

Commit c550bae

Browse files
FRASTMdanieldegrasse
authored andcommitted
dts: bindings: flash controller size of the stm32 ospi nor
This change adds the size in Bits of the flash nor memory for the st,stm32-ospi-nor compatible. Signed-off-by: Francois Ramu <francois.ramu@st.com>
1 parent 66b85e5 commit c550bae

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ description: |
66
77
Representation of a serial flash on a octospi bus:
88
9-
mx25lm51245: ospi-nor-flash@70000000 {
9+
mx25lm51245: ospi-nor-flash@0 {
1010
compatible = "st,stm32-ospi-nor";
11-
reg = <0x70000000 DT_SIZE_M(64)>; /* 512 Mbits */
11+
reg = <0>;
12+
size = <DT_SIZE_M(512)>; /* 512 Mbits */
1213
data-mode = <OSPI_OPI_MODE>; /* access on 8 data lines */
1314
data-rate = <OSPI_DTR_TRANSFER>; /* access in DTR */
1415
ospi-max-frequency = <DT_FREQ_M(50)>;
@@ -22,6 +23,9 @@ include: ["flash-controller.yaml", "jedec,jesd216.yaml"]
2223
on-bus: ospi
2324

2425
properties:
26+
size:
27+
required: true
28+
description: Flash Memory size in bits
2529
reg:
2630
required: true
2731
description: Flash Memory base address and size in bytes

0 commit comments

Comments
 (0)