Skip to content

Commit fc42cc6

Browse files
TonyHan11jhedberg
authored andcommitted
dts: arm: microchip: sama7g5: add DMA Controller (XDMAC) support
Add dma nodes to sama7g5.dtsi file. Signed-off-by: Tony Han <[email protected]>
1 parent 7df7d8b commit fc42cc6

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

dts/arm/microchip/sam/sama7g5.dtsi

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,39 @@
4646
#clock-cells = <1>;
4747
};
4848

49+
dma0: dma-controller@e2808000 {
50+
compatible = "atmel,sam-xdmac";
51+
reg = <0xe2808000 0x1000>;
52+
interrupt-parent = <&gic>;
53+
interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
54+
#dma-cells = <2>;
55+
clocks = <&pmc PMC_TYPE_PERIPHERAL 22>;
56+
clock-names = "dma_clk";
57+
status = "disabled";
58+
};
59+
60+
dma1: dma-controller@e280c000 {
61+
compatible = "atmel,sam-xdmac";
62+
reg = <0xe280c000 0x1000>;
63+
interrupt-parent = <&gic>;
64+
interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
65+
#dma-cells = <2>;
66+
clocks = <&pmc PMC_TYPE_PERIPHERAL 23>;
67+
clock-names = "dma_clk";
68+
status = "disabled";
69+
};
70+
71+
dma2: dma-controller@e1200000 {
72+
compatible = "atmel,sam-xdmac";
73+
reg = <0xe1200000 0x1000>;
74+
interrupt-parent = <&gic>;
75+
interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
76+
#dma-cells = <2>;
77+
clocks = <&pmc PMC_TYPE_PERIPHERAL 24>;
78+
clock-names = "dma_clk";
79+
status = "disabled";
80+
};
81+
4982
flx0: flexcom@e1818000 {
5083
compatible = "microchip,sam-flexcom";
5184
reg = <0xe1818000 0x200>;

0 commit comments

Comments
 (0)