1 * Ingenic XBurst DMA Controller
5 - compatible: Should be one of:
12 - reg: Should contain the DMA channel registers location and length, followed
13 by the DMA controller registers location and length.
14 - interrupts: Should contain the interrupt specifier of the DMA controller.
15 - clocks: Should contain a clock specifier for the JZ4780/X1000/X1830 PDMA
17 - #dma-cells: Must be <2>. Number of integer cells in the dmas property of
18 DMA clients (see below).
22 - ingenic,reserved-channels: Bitmask of channels to reserve for devices that
23 need a specific channel. These channels will only be assigned when explicitly
24 requested by a client. The primary use for this is channels 0 and 1, which
25 can be configured to have special behaviour for NAND/BCH when using
26 programmable firmware.
30 dma: dma-controller@13420000 {
31 compatible = "ingenic,jz4780-dma";
32 reg = <0x13420000 0x400
35 interrupt-parent = <&intc>;
38 clocks = <&cgu JZ4780_CLK_PDMA>;
42 ingenic,reserved-channels = <0x3>;
45 DMA clients must use the format described in dma.txt, giving a phandle to the
46 DMA controller plus the following 2 integer cells:
48 1. Request type: The DMA request type for transfers to/from the device on
49 the allocated channel, as defined in the SoC documentation.
51 2. Channel: If set to 0xffffffff, any available channel will be allocated for
52 the client. Otherwise, the exact channel specified will be used. The channel
53 should be reserved on the DMA controller using the ingenic,reserved-channels
58 uart0: serial@10030000 {
60 dmas = <&dma 0x14 0xffffffff
61 &dma 0x15 0xffffffff>;
62 dma-names = "tx", "rx";