diff options
author | Alexander Popov <a13xp0p0v88@gmail.com> | 2014-06-25 06:52:58 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-07-25 14:51:41 -0400 |
commit | 9093e72b39402b25911a19a6851815a034e3f753 (patch) | |
tree | 15a1409397e8906d892451eb6545a24e2fe470b2 /Documentation/devicetree/bindings/dma/mpc512x-dma.txt | |
parent | 555859308723d8d5b828304f5eb9281143fd86b5 (diff) |
dmaengine: mpc512x: add device tree binding document
Introduce a device tree binding document for the MPC512x DMA controller
Signed-off-by: Alexander Popov <a13xp0p0v88@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'Documentation/devicetree/bindings/dma/mpc512x-dma.txt')
-rw-r--r-- | Documentation/devicetree/bindings/dma/mpc512x-dma.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/dma/mpc512x-dma.txt b/Documentation/devicetree/bindings/dma/mpc512x-dma.txt new file mode 100644 index 000000000000..a6511df165c5 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/mpc512x-dma.txt | |||
@@ -0,0 +1,29 @@ | |||
1 | * Freescale MPC512x and MPC8308 DMA Controller | ||
2 | |||
3 | The DMA controller in Freescale MPC512x and MPC8308 SoCs can move | ||
4 | blocks of memory contents between memory and peripherals or | ||
5 | from memory to memory. | ||
6 | |||
7 | Refer to "Generic DMA Controller and DMA request bindings" in | ||
8 | the dma/dma.txt file for a more detailed description of binding. | ||
9 | |||
10 | Required properties: | ||
11 | - compatible: should be "fsl,mpc5121-dma" or "fsl,mpc8308-dma"; | ||
12 | - reg: should contain the DMA controller registers location and length; | ||
13 | - interrupt for the DMA controller: syntax of interrupt client node | ||
14 | is described in interrupt-controller/interrupts.txt file. | ||
15 | - #dma-cells: the length of the DMA specifier, must be <1>. | ||
16 | Each channel of this DMA controller has a peripheral request line, | ||
17 | the assignment is fixed in hardware. This one cell | ||
18 | in dmas property of a client device represents the channel number. | ||
19 | |||
20 | Example: | ||
21 | |||
22 | dma0: dma@14000 { | ||
23 | compatible = "fsl,mpc5121-dma"; | ||
24 | reg = <0x14000 0x1800>; | ||
25 | interrupts = <65 0x8>; | ||
26 | #dma-cells = <1>; | ||
27 | }; | ||
28 | |||
29 | DMA clients must use the format described in dma/dma.txt file. | ||