Skip to content

Commit 0e1f805

Browse files
mathieuchopstmaescolar
authored andcommitted
dts: arm: st: wb0: add DMA and DMAMUX nodes
Add device tree nodes corresponding to DMA and DMAMUX peripherals to STM32WB0 series DTSI. Signed-off-by: Mathieu Choplain <[email protected]>
1 parent 764ce97 commit 0e1f805

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

dts/arm/st/wb0/stm32wb0.dtsi

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,31 @@
217217
interrupts = <7 0>;
218218
status = "disabled";
219219
};
220+
221+
dma1: dma@48700000 {
222+
compatible = "st,stm32-dma-v2bis";
223+
#dma-cells = <2>;
224+
reg = <0x48700000 256>;
225+
clocks = <&rcc STM32_CLOCK(AHB0, 0)>;
226+
interrupts = <17 0 17 0 17 0 17 0 17 0 17 0 17 0 17 0>;
227+
dma-requests = <8>;
228+
dma-offset = <0>;
229+
status = "disabled";
230+
};
231+
232+
dmamux1: dmamux@48800000 {
233+
compatible = "st,stm32-dmamux";
234+
reg = <0x48800000 DT_SIZE_K(1)>;
235+
/* `clocks` property is identical between DMA and DMAMUX
236+
* because they share a single common bit in RCC registers
237+
*/
238+
clocks = <&rcc STM32_CLOCK(AHB0, 0)>;
239+
#dma-cells = <3>;
240+
dma-channels = <8>;
241+
dma-generators = <1>;
242+
dma-requests= <25>;
243+
status = "disabled";
244+
};
220245
};
221246
};
222247

0 commit comments

Comments
 (0)