boards: st: stm32h573 disco boards with xspi instance peripheral

Use the xspi.h header file to configure the xspi node
of the stm32 disco kit

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2024-03-14 12:52:22 +01:00 committed by Carles Cufí
commit 5dff83a8be

View file

@ -252,7 +252,7 @@
status = "okay"; status = "okay";
}; };
&octospi1 { &xspi1 {
pinctrl-0 = <&octospi1_io0_pb1 &octospi1_io1_pd12 pinctrl-0 = <&octospi1_io0_pb1 &octospi1_io1_pd12
&octospi1_io2_pc2 &octospi1_io3_pd13 &octospi1_io2_pc2 &octospi1_io3_pd13
&octospi1_io4_ph2 &octospi1_io5_ph3 &octospi1_io4_ph2 &octospi1_io5_ph3
@ -264,11 +264,11 @@
status = "okay"; status = "okay";
mx25lm51245: ospi-nor-flash@90000000 { mx25lm51245: ospi-nor-flash@90000000 {
compatible = "st,stm32-ospi-nor"; compatible = "st,stm32-xspi-nor";
reg = <0x90000000 DT_SIZE_M(64)>; /* 512 Mbits */ reg = <0x90000000 DT_SIZE_M(64)>; /* 512 Mbits */
ospi-max-frequency = <DT_FREQ_M(50)>; ospi-max-frequency = <DT_FREQ_M(50)>;
spi-bus-width = <OSPI_OPI_MODE>; spi-bus-width = <XSPI_OCTO_MODE>;
data-rate = <OSPI_DTR_TRANSFER>; data-rate = <XSPI_DTR_TRANSFER>;
four-byte-opcodes; four-byte-opcodes;
status = "okay"; status = "okay";