Skip to content

Commit 227c456

Browse files
committed
st: stm32h7rs: add xspi peripherals
Add entries in the device tree for the xspi1 and xspi2 controllers. Signed-off-by: Titouan Christophe <[email protected]>
1 parent c53fb67 commit 227c456

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

boards/st/stm32h7s78_dk/stm32h7s78_dk.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <st/h7/stm32h7s7l8hx-pinctrl.dtsi>
1010
#include "arduino_r3_connector.dtsi"
1111
#include <zephyr/dt-bindings/input/input-event-codes.h>
12+
#include <zephyr/dt-bindings/flash_controller/xspi.h>
1213

1314
/ {
1415
model = "STMicroelectronics STM32H7S78 DISCOVERY KIT board";

dts/arm/st/h7rs/stm32h7rs.dtsi

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,28 @@
428428
status = "disabled";
429429
};
430430

431+
xspi1: xspi@52005000 {
432+
compatible = "st,stm32-xspi";
433+
reg = <0x52005000 0x1000>;
434+
interrupts = <105 0>;
435+
clock-names = "bus";
436+
clocks = <&rcc STM32_CLOCK(AHB5, 14U)>;
437+
#address-cells = <1>;
438+
#size-cells = <0>;
439+
status = "disabled";
440+
};
441+
442+
xspi2: xspi@5200a000 {
443+
compatible = "st,stm32-xspi";
444+
reg = <0x5200a000 0x1000>;
445+
interrupts = <106 0>;
446+
clock-names = "bus";
447+
clocks = <&rcc STM32_CLOCK(AHB5, 12U)>;
448+
#address-cells = <1>;
449+
#size-cells = <0>;
450+
status = "disabled";
451+
};
452+
431453
spi1: spi@42003000 {
432454
compatible = "st,stm32h7-spi", "st,stm32-spi-fifo", "st,stm32-spi";
433455
#address-cells = <1>;

0 commit comments

Comments
 (0)