File tree Expand file tree Collapse file tree 3 files changed +68
-1
lines changed Expand file tree Collapse file tree 3 files changed +68
-1
lines changed Original file line number Diff line number Diff line change 514514 label= "USB";
515515 };
516516
517+ dma1: dma@40020000 {
518+ compatible = "st,stm32-dma-v2";
519+ #dma-cells = <4>;
520+ reg = <0x40020000 0x400>;
521+ clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x1>;
522+ dma-offset = <0>;
523+ status = "disabled";
524+ label = "DMA_1";
525+ };
526+
527+ dma2: dma@40020400 {
528+ compatible = "st,stm32-dma-v2";
529+ #dma-cells = <4>;
530+ reg = <0x40020400 0x400>;
531+ clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x2>;
532+ status = "disabled";
533+ label = "DMA_2";
534+ };
535+
536+ dmamux1: dmamux@40020800 {
537+ compatible = "st,stm32-dmamux";
538+ #dma-cells = <4>;
539+ reg = <0x40020800 0x400>;
540+ interrupts = <94 0>;
541+ clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x4>;
542+ dma-generators = <4>;
543+ dma-requests= <21>;
544+ status = "disabled";
545+ label = "DMAMUX_1";
546+ };
547+
517548 };
518549
519550 usb_fs_phy: usbphy {
Original file line number Diff line number Diff line change 55 */
66
77#include <st/g4/stm32g4.dtsi>
8+
9+ / {
10+ soc {
11+ dma1: dma@40020000 {
12+ interrupts = <11 0 12 0 13 0 14 0 15 0 16 0>;
13+ dma-requests = <6>;
14+ };
15+
16+ dma2: dma@40020400 {
17+ interrupts = <56 0 57 0 58 0 59 0 60 0 97 0>;
18+ dma-requests = <6>;
19+ dma-offset = <6>;
20+ };
21+
22+ dmamux1: dmamux@40020800 {
23+ dma-channels = <12>;
24+ };
25+
26+ };
27+ };
Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: Apache-2.0
55 */
66
7- #include <st/g4/stm32g431 .dtsi>
7+ #include <st/g4/stm32g4 .dtsi>
88
99/ {
1010 soc {
2525 label = "DAC_4";
2626 #io-channel-cells = <1>;
2727 };
28+
29+ dma1: dma@40020000 {
30+ interrupts = <11 0 12 0 13 0 14 0 15 0 16 0 17 0 96 0>;
31+ dma-requests = <8>;
32+ };
33+
34+ dma2: dma@40020400 {
35+ interrupts = <56 0 57 0 58 0 59 0 60 0 97 0 98 0 99 0>;
36+ dma-requests = <8>;
37+ dma-offset = <8>;
38+ };
39+
40+ dmamux1: dmamux@40020800 {
41+ dma-channels = <16>;
42+ };
43+
2844 };
2945};
You can’t perform that action at this time.
0 commit comments