File tree Expand file tree Collapse file tree 5 files changed +37
-0
lines changed Expand file tree Collapse file tree 5 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 712712 label = "DMA_2";
713713 };
714714
715+ dmamux1: dmamux@40020800 {
716+ compatible = "st,stm32-dmamux";
717+ #dma-cells = <4>;
718+ reg = <0x40020800 0x400>;
719+ interrupts = <102 0>;
720+ /* dmamux1 has no dedicated clock, so we enable dma1 clock */
721+ clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x00000001>;
722+ dma-channels = <16>;
723+ dma-generators = <8>;
724+ status = "disabled";
725+ label = "DMAMUX_1";
726+ /*
727+ * dma-requests is different among h7 socs,
728+ * so we set in specific dtsi files
729+ */
730+ };
731+
715732 rng: rng@48021800 {
716733 compatible = "st,stm32-rng";
717734 reg = <0x48021800 0x400>;
Original file line number Diff line number Diff line change 2222 status = "disabled";
2323 label = "UART_9";
2424 };
25+
26+ dmamux1: dmamux@40020800 {
27+ dma-requests= <129>;
28+ };
2529 };
30+
2631 /* DTCM memory directly coppled to CPU */
2732 dtcm: memory@20000000 {
2833 compatible = "arm,dtcm";
Original file line number Diff line number Diff line change 1414 erase-block-size = <DT_SIZE_K(128)>;
1515 };
1616 };
17+
18+ dmamux1: dmamux@40020800 {
19+ dma-requests= <107>;
20+ };
1721 };
22+
1823 /* system data RAM accessible over over AXI bus */
1924 sram0: memory@24000000 {
2025 compatible = "mmio-sram";
Original file line number Diff line number Diff line change 2020 erase-block-size = <DT_SIZE_K(128)>;
2121 };
2222 };
23+
24+ dmamux1: dmamux@40020800 {
25+ dma-requests= <107>;
26+ };
2327 };
2428 /*
2529 * The RAM memories placed here can be used by both cores M4/M7
Original file line number Diff line number Diff line change 77#include <st/h7/stm32h7.dtsi>
88
99/ {
10+ soc {
11+ dmamux1: dmamux@40020800 {
12+ dma-requests= <107>;
13+ };
14+ };
15+
1016 /* system data RAM accessible over over AXI bus */
1117 sram0: memory@24000000 {
1218 compatible = "mmio-sram";
You can’t perform that action at this time.
0 commit comments