0001 * Atmel Direct Memory Access Controller (DMA)
0002
0003 Required properties:
0004 - compatible: Should be "atmel,<chip>-dma".
0005 - reg: Should contain DMA registers location and length.
0006 - interrupts: Should contain DMA interrupt.
0007 - #dma-cells: Must be <2>, used to represent the number of integer cells in
0008 the dmas property of client devices.
0009
0010 Example:
0011
0012 dma0: dma@ffffec00 {
0013 compatible = "atmel,at91sam9g45-dma";
0014 reg = <0xffffec00 0x200>;
0015 interrupts = <21>;
0016 #dma-cells = <2>;
0017 };
0018
0019 DMA clients connected to the Atmel DMA controller must use the format
0020 described in the dma.txt file, using a three-cell specifier for each channel:
0021 a phandle plus two integer cells.
0022 The three cells in order are:
0023
0024 1. A phandle pointing to the DMA controller.
0025 2. The memory interface (16 most significant bits), the peripheral interface
0026 (16 less significant bits).
0027 3. Parameters for the at91 DMA configuration register which are device
0028 dependent:
0029 - bit 7-0: peripheral identifier for the hardware handshaking interface. The
0030 identifier can be different for tx and rx.
0031 - bit 11-8: FIFO configuration. 0 for half FIFO, 1 for ALAP, 2 for ASAP.
0032
0033 Example:
0034
0035 i2c0@i2c@f8010000 {
0036 compatible = "atmel,at91sam9x5-i2c";
0037 reg = <0xf8010000 0x100>;
0038 interrupts = <9 4 6>;
0039 dmas = <&dma0 1 7>,
0040 <&dma0 1 8>;
0041 dma-names = "tx", "rx";
0042 };