Skip to content

Commit ec9f74f

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

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

dts/bindings/flash_controller/st,stm32-qspi-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 quadspi bus:
88
9-
mx25r6435f: qspi-nor-flash@90000000 {
9+
mx25r6435f: qspi-nor-flash@0 {
1010
compatible = "st,stm32-qspi-nor";
11-
reg = <0x90000000 DT_SIZE_M(8)>; /* 64 Mbits */
11+
reg = <0>;
12+
size = <DT_SIZE_M(64)>; /* 64 Mbits */
1213
qspi-max-frequency = <80000000>;
1314
reset-gpios = <&gpiod 3 GPIO_ACTIVE_LOW>;
1415
reset-gpios-duration = <1>;
@@ -23,6 +24,9 @@ include: ["flash-controller.yaml", "jedec,jesd216.yaml"]
2324
on-bus: qspi
2425

2526
properties:
27+
size:
28+
required: true
29+
description: Flash Memory size in bits
2630
reg:
2731
required: true
2832
description: Flash Memory base address and size in bytes

0 commit comments

Comments
 (0)