xref: /linux/Documentation/devicetree/bindings/dma/fsl,imx-dma.yaml (revision d53b8e36925256097a08d7cb749198d85cbf9b2b)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/dma/fsl,imx-dma.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale Direct Memory Access (DMA) Controller for i.MX
8
9maintainers:
10  - Animesh Agarwal <animeshagarwal28@gmail.com>
11
12allOf:
13  - $ref: dma-controller.yaml#
14
15properties:
16  compatible:
17    enum:
18      - fsl,imx1-dma
19      - fsl,imx21-dma
20      - fsl,imx27-dma
21
22  reg:
23    maxItems: 1
24
25  interrupts:
26    items:
27      - description: DMA complete interrupt
28      - description: DMA Error interrupt
29    minItems: 1
30
31  "#dma-cells":
32    const: 1
33
34  dma-channels:
35    const: 16
36
37  dma-requests:
38    description: Number of DMA requests supported.
39
40required:
41  - compatible
42  - reg
43  - interrupts
44  - "#dma-cells"
45
46additionalProperties: false
47
48examples:
49  - |
50    dma-controller@10001000 {
51      compatible = "fsl,imx27-dma";
52      reg = <0x10001000 0x1000>;
53      interrupts = <32 33>;
54      #dma-cells = <1>;
55      dma-channels = <16>;
56    };
57