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>
This commit is contained in:
Francois Ramu
2025-05-09 09:03:10 +02:00
committed by Daniel DeGrasse
parent 66b85e5a81
commit c550baecb6

View File

@@ -6,9 +6,10 @@ description: |
Representation of a serial flash on a octospi bus:
mx25lm51245: ospi-nor-flash@70000000 {
mx25lm51245: ospi-nor-flash@0 {
compatible = "st,stm32-ospi-nor";
reg = <0x70000000 DT_SIZE_M(64)>; /* 512 Mbits */
reg = <0>;
size = <DT_SIZE_M(512)>; /* 512 Mbits */
data-mode = <OSPI_OPI_MODE>; /* access on 8 data lines */
data-rate = <OSPI_DTR_TRANSFER>; /* access in DTR */
ospi-max-frequency = <DT_FREQ_M(50)>;
@@ -22,6 +23,9 @@ include: ["flash-controller.yaml", "jedec,jesd216.yaml"]
on-bus: ospi
properties:
size:
required: true
description: Flash Memory size in bits
reg:
required: true
description: Flash Memory base address and size in bytes