Skip to content

Commit 53d7cd2

Browse files
committed
dts: arm: stm32h5 serie has a mspi controller instead of xspi
Replace the xpsi by the mspi node in the DTS of the stm32h5 serie Signed-off-by: Francois Ramu <[email protected]>
1 parent efe3b98 commit 53d7cd2

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

dts/arm/st/h5/stm32h562.dtsi

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
*/
66

77
#include <st/h5/stm32h5.dtsi>
8-
#include <zephyr/dt-bindings/flash_controller/ospi.h>
9-
/* keep both header files for compatibility */
10-
#include <zephyr/dt-bindings/flash_controller/xspi.h>
118
#include <mem.h>
129

1310
/ {
@@ -258,15 +255,21 @@
258255
status = "disabled";
259256
};
260257

261-
xspi1: xspi@47001400 {
262-
compatible = "st,stm32-xspi";
258+
mspi1: mspi@47001400 {
259+
compatible = "st,stm32-mspi-controller";
263260
reg = <0x47001400 0x400>;
264261
interrupts = <78 0>;
265262
clock-names = "xspix", "xspi-ker";
266263
clocks = <&rcc STM32_CLOCK(AHB4, 20U)>,
267264
<&rcc STM32_SRC_PLL1_Q OCTOSPI1_SEL(1)>;
268265
#address-cells = <1>;
269266
#size-cells = <0>;
267+
268+
clock-frequency = < 0x17d7840 >;
269+
op-mode = "MSPI_CONTROLLER";
270+
duplex = "MSPI_HALF_DUPLEX";
271+
dqs-support;
272+
270273
status = "disabled";
271274
};
272275

0 commit comments

Comments
 (0)