Commit | Line | Data |
---|---|---|
faadc6e3 LW |
1 | ST-Ericsson COH 901 318 DMA Controller |
2 | ||
3 | This is a DMA controller which has begun as a fork of the | |
4 | ARM PL08x PrimeCell VHDL code. | |
5 | ||
6 | Required properties: | |
7 | - compatible: should be "stericsson,coh901318" | |
8 | - reg: register locations and length | |
9 | - interrupts: the single DMA IRQ | |
10 | - #dma-cells: must be set to <1>, as the channels on the | |
11 | COH 901 318 are simple and identified by a single number | |
12 | - dma-channels: the number of DMA channels handled | |
13 | ||
14 | Example: | |
15 | ||
16 | dmac: dma-controller@c00020000 { | |
17 | compatible = "stericsson,coh901318"; | |
18 | reg = <0xc0020000 0x1000>; | |
19 | interrupt-parent = <&vica>; | |
20 | interrupts = <2>; | |
21 | #dma-cells = <1>; | |
22 | dma-channels = <40>; | |
23 | }; | |
24 | ||
25 | Consumers example: | |
26 | ||
27 | uart0: serial@c0013000 { | |
28 | compatible = "..."; | |
29 | (...) | |
30 | dmas = <&dmac 17 &dmac 18>; | |
31 | dma-names = "tx", "rx"; | |
32 | }; |