Debian Codegraph @

Documentation/devicetree/bindings/dma/fsl,imx-dma.yaml

raw
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
7 title: Freescale Direct Memory Access (DMA) Controller for i.MX
8
9 maintainers:
10 - Animesh Agarwal <[email protected]>
11
12 allOf:
13 - $ref: dma-controller.yaml#
14
15 properties:
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 clocks:
32 maxItems: 2
33
34 clock-names:
35 items:
36 - const: ipg
37 - const: ahb
38
39 "#dma-cells":
40 const: 1
41
42 dma-channels:
43 const: 16
44
45 dma-requests:
46 description: Number of DMA requests supported.
47
48 required:
49 - compatible
50 - reg
51 - interrupts
52 - "#dma-cells"
53 - clocks
54 - clock-names
55
56 additionalProperties: false
57
58 examples:
59 - |
60 #include <dt-bindings/clock/imx27-clock.h>
61
62 dma-controller@10001000 {
63 compatible = "fsl,imx27-dma";
64 reg = <0x10001000 0x1000>;
65 interrupts = <32 33>;
66 #dma-cells = <1>;
67 dma-channels = <16>;
68 clocks = <&clks IMX27_CLK_DMA_IPG_GATE>, <&clks IMX27_CLK_DMA_AHB_GATE>;
69 clock-names = "ipg", "ahb";
70 };