]> git.karo-electronics.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/dma/arm-pl330.txt
a4cd273b2a679d0d5c4952d6a576149658570cdd
[karo-tx-linux.git] / Documentation / devicetree / bindings / dma / arm-pl330.txt
1 * ARM PrimeCell PL330 DMA Controller
2
3 The ARM PrimeCell PL330 DMA controller can move blocks of memory contents
4 between memory and peripherals or memory to memory.
5
6 Required properties:
7   - compatible: should include both "arm,pl330" and "arm,primecell".
8   - reg: physical base address of the controller and length of memory mapped
9     region.
10   - interrupts: interrupt number to the cpu.
11
12 Example:
13
14         pdma0: pdma@12680000 {
15                 compatible = "arm,pl330", "arm,primecell";
16                 reg = <0x12680000 0x1000>;
17                 interrupts = <99>;
18         };
19
20 Client drivers (device nodes requiring dma transfers from dev-to-mem or
21 mem-to-dev) should specify the DMA channel numbers using a two-value pair
22 as shown below.
23
24   [property name]  = <[phandle of the dma controller] [dma request id]>;
25
26       where 'dma request id' is the dma request number which is connected
27       to the client controller. The 'property name' is recommended to be
28       of the form <name>-dma-channel.
29
30   Example:  tx-dma-channel = <&pdma0 12>;