mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
ARM: dts: at91: add dma1 definition to sama5d2
The sama5d2 SoC has a second DMA controller and can be used just like DMA0. By default both DMA controllers are configured as "Secure" in MATRIX_SPSELR so we can use whichever we want in a "single Secure World" configuration. Surprisingly the DMA1 has a lower address than DMA0. To avoid confusion place it after DMA0 node anyway. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
This commit is contained in:
parent
0d98013de8
commit
22eb6cc222
1 changed files with 10 additions and 0 deletions
|
@ -395,6 +395,16 @@
|
||||||
clock-names = "dma_clk";
|
clock-names = "dma_clk";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Place dma1 here despite its address */
|
||||||
|
dma1: dma-controller@f0004000 {
|
||||||
|
compatible = "atmel,sama5d4-dma";
|
||||||
|
reg = <0xf0004000 0x1000>;
|
||||||
|
interrupts = <7 IRQ_TYPE_LEVEL_HIGH 0>;
|
||||||
|
#dma-cells = <1>;
|
||||||
|
clocks = <&dma1_clk>;
|
||||||
|
clock-names = "dma_clk";
|
||||||
|
};
|
||||||
|
|
||||||
pmc: pmc@f0014000 {
|
pmc: pmc@f0014000 {
|
||||||
compatible = "atmel,sama5d2-pmc", "syscon";
|
compatible = "atmel,sama5d2-pmc", "syscon";
|
||||||
reg = <0xf0014000 0x160>;
|
reg = <0xf0014000 0x160>;
|
||||||
|
|
Loading…
Add table
Reference in a new issue