Skip to content

Commit 29c7500

Browse files
kbidanikartben
authored andcommitted
dts: arm: st: u3: add spi
Add SPI support to STM32U3 Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
1 parent da4b8ec commit 29c7500

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

dts/arm/st/u3/stm32u3.dtsi

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,36 @@
333333
dma-offset = <0>;
334334
status = "disabled";
335335
};
336+
337+
spi1: spi@40013000 {
338+
compatible = "st,stm32h7-spi", "st,stm32-spi-fifo", "st,stm32-spi";
339+
#address-cells = <1>;
340+
#size-cells = <0>;
341+
reg = <0x40013000 0x400>;
342+
clocks = <&rcc STM32_CLOCK(APB2, 12)>;
343+
interrupts = <59 0>;
344+
status = "disabled";
345+
};
346+
347+
spi2: spi@40003800 {
348+
compatible = "st,stm32h7-spi", "st,stm32-spi-fifo", "st,stm32-spi";
349+
#address-cells = <1>;
350+
#size-cells = <0>;
351+
reg = <0x40003800 0x400>;
352+
clocks = <&rcc STM32_CLOCK(APB1, 14)>;
353+
interrupts = <60 0>;
354+
status = "disabled";
355+
};
356+
357+
spi3: spi@40002000 {
358+
compatible = "st,stm32h7-spi", "st,stm32-spi-fifo", "st,stm32-spi";
359+
#address-cells = <1>;
360+
#size-cells = <0>;
361+
reg = <0x40002000 0x400>;
362+
clocks = <&rcc STM32_CLOCK(APB1, 8)>;
363+
interrupts = <99 0>;
364+
status = "disabled";
365+
};
336366
};
337367
};
338368

0 commit comments

Comments
 (0)