boards: arm: stm32 disco kit has ospi nor flash node

Define the reg and size property for the stm32 disco kits
which have an octospi instance
Refer to the dts/bindings/flash_controller/st,stm32-ospi-nor.yaml.
Also remove the <size> property for the stm362h750 disco kit.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2024-02-05 11:33:37 +01:00 committed by Maureen Helm
parent 6aac89b683
commit ba85dac6ff
7 changed files with 12 additions and 19 deletions

View file

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

View file

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

View file

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

View file

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

View file

@ -124,7 +124,6 @@
compatible = "st,stm32-qspi-nor";
reg = <0x90000000 DT_SIZE_M(64)>; /* 512 Mbits */
qspi-max-frequency = <72000000>;
size = <DT_SIZE_M(512)>; /* 64 MBytes */
status = "okay";
};
};

View file

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

View file

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