boards: st: stm32 boards ospi-nor-flash DTS configuration

This change defines the "st,stm32-ospi-nor" compatible Node
in conformance to the DTS specifications
Includes the size property (in Bits) of the external memory device

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2025-05-09 09:35:11 +02:00 committed by Daniel DeGrasse
commit 14c1b4aa1e
9 changed files with 26 additions and 17 deletions

View file

@ -269,9 +269,10 @@ zephyr_udc0: &usbotg_fs {
status = "okay";
mx25r6435f: ospi-nor-flash@90000000 {
mx25r6435f: ospi-nor-flash@0 {
compatible = "st,stm32-ospi-nor";
reg = <0x90000000 DT_SIZE_M(8)>; /* 64 Megabits */
reg = <0>;
size = <DT_SIZE_M(64)>; /* 64 Megabits */
ospi-max-frequency = <DT_FREQ_M(26)>; /* for Voltage Range 2 */
spi-bus-width = <OSPI_QUAD_MODE>;
data-rate = <OSPI_STR_TRANSFER>;

View file

@ -85,7 +85,8 @@
/* Winbond external flash */
w25q64jvssiq_qspi: qspi-nor-flash@0 {
compatible = "st,stm32-ospi-nor";
reg = <0 DT_SIZE_M(8)>; /* 64 Mbits */
reg = <0>;
size = <DT_SIZE_M(64)>; /* 64 Mbits */
ospi-max-frequency = <DT_FREQ_M(133)>;
spi-bus-width = <OSPI_QUAD_MODE>;
data-rate = <OSPI_STR_TRANSFER>;

View file

@ -246,9 +246,10 @@ zephyr_udc0: &usbotg_fs {
status = "okay";
mx25r6435f: ospi-nor-flash@90000000 {
mx25r6435f: ospi-nor-flash@0 {
compatible = "st,stm32-ospi-nor";
reg = <0x90000000 DT_SIZE_M(8)>; /* 64 Megabits */
reg = <0>;
size = <DT_SIZE_M(64)>; /* 64 Megabits */
ospi-max-frequency = <DT_FREQ_M(26)>; /* for Voltage Range 2 */
spi-bus-width = <OSPI_QUAD_MODE>;
data-rate = <OSPI_STR_TRANSFER>;

View file

@ -137,9 +137,10 @@ stm32_lp_tick_source: &lptim1 {
status = "okay";
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 Megabits */
ospi-max-frequency = <DT_FREQ_M(50)>;
spi-bus-width = <OSPI_OPI_MODE>;
data-rate = <OSPI_DTR_TRANSFER>;

View file

@ -180,9 +180,10 @@
status = "okay";
mx25lm51245: ospi-nor-flash@90000000 {
mx25lm51245: ospi-nor-flash@0 {
compatible = "st,stm32-ospi-nor";
reg = <0x90000000 DT_SIZE_M(64)>; /* 512 Mbits */
reg = <0>;
size = <DT_SIZE_M(512)>; /* 512 Megabits */
ospi-max-frequency = <DT_FREQ_M(50)>;
spi-bus-width = <OSPI_OPI_MODE>;
data-rate = <OSPI_DTR_TRANSFER>;

View file

@ -287,9 +287,10 @@
status = "okay";
mx25lm51245: ospi-nor-flash@90000000 {
mx25lm51245: ospi-nor-flash@0 {
compatible = "st,stm32-ospi-nor";
reg = <0x90000000 DT_SIZE_M(64)>; /* 512 Mbits */
reg = <0>;
size = <DT_SIZE_M(512)>; /* 512 Megabits */
ospi-max-frequency = <DT_FREQ_M(50)>;
spi-bus-width = <OSPI_OPI_MODE>;
data-rate = <OSPI_DTR_TRANSFER>;

View file

@ -290,10 +290,11 @@ zephyr_udc0: &usbotg_fs {
&octospim_p2_dqs_pg15>;
pinctrl-names = "default";
mx25lm51245: ospi-nor-flash@90000000 {
mx25lm51245: ospi-nor-flash@0 {
status = "okay";
compatible = "st,stm32-ospi-nor";
reg = <0x90000000 DT_SIZE_M(64)>; /* 512 Mbits */
reg = <0>;
size = <DT_SIZE_M(512)>; /* 512 Megabits */
ospi-max-frequency = <DT_FREQ_M(25)>;
spi-bus-width = <OSPI_OPI_MODE>;
data-rate = <OSPI_STR_TRANSFER>;

View file

@ -227,9 +227,10 @@ stm32_lp_tick_source: &lptim1 {
status = "okay";
mx25lm51245: ospi-nor-flash@90000000 {
mx25lm51245: ospi-nor-flash@0 {
compatible = "st,stm32-ospi-nor";
reg = <0x90000000 DT_SIZE_M(64)>; /* 512 Mbits */
reg = <0>;
size = <DT_SIZE_M(512)>; /* 512 Megabits */
ospi-max-frequency = <DT_FREQ_M(50)>;
spi-bus-width = <OSPI_OPI_MODE>;
data-rate = <OSPI_DTR_TRANSFER>;

View file

@ -142,9 +142,10 @@ zephyr_udc0: &usbotg_hs {
&octospim_p1_io2_pe2 &octospim_p1_io3_pd13>;
status = "okay";
w25q64_qspi: ospi-nor-flash@90000000 {
w25q64_qspi: ospi-nor-flash@0{
compatible = "st,stm32-ospi-nor";
reg = <0x90000000 DT_SIZE_M(64)>; /* 64 Mbits */
reg = <0>;
size = <DT_SIZE_M(64)>; /* 64 Mbits */
ospi-max-frequency = <40000000>;
status = "okay";
spi-bus-width = <4>;