xref: /linux/Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
10642b3f4SMarek Vasut# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
20642b3f4SMarek Vasut%YAML 1.2
30642b3f4SMarek Vasut---
40642b3f4SMarek Vasut$id: http://devicetree.org/schemas/dma/fsl,mxs-dma.yaml#
50642b3f4SMarek Vasut$schema: http://devicetree.org/meta-schemas/core.yaml#
60642b3f4SMarek Vasut
70642b3f4SMarek Vasuttitle: Freescale Direct Memory Access (DMA) Controller from i.MX23/i.MX28
80642b3f4SMarek Vasut
90642b3f4SMarek Vasutmaintainers:
100642b3f4SMarek Vasut  - Marek Vasut <marex@denx.de>
110642b3f4SMarek Vasut
120642b3f4SMarek VasutallOf:
130642b3f4SMarek Vasut  - $ref: dma-controller.yaml#
14*63556df6SFrank Li  - if:
15*63556df6SFrank Li      properties:
16*63556df6SFrank Li        compatible:
17*63556df6SFrank Li          contains:
18*63556df6SFrank Li            const: fsl,imx8qxp-dma-apbh
19*63556df6SFrank Li    then:
20*63556df6SFrank Li      required:
21*63556df6SFrank Li        - power-domains
22*63556df6SFrank Li    else:
23*63556df6SFrank Li      properties:
24*63556df6SFrank Li        power-domains: false
250642b3f4SMarek Vasut
260642b3f4SMarek Vasutproperties:
270642b3f4SMarek Vasut  compatible:
280642b3f4SMarek Vasut    oneOf:
290642b3f4SMarek Vasut      - items:
300642b3f4SMarek Vasut          - enum:
310642b3f4SMarek Vasut              - fsl,imx6q-dma-apbh
320642b3f4SMarek Vasut              - fsl,imx6sx-dma-apbh
330642b3f4SMarek Vasut              - fsl,imx7d-dma-apbh
34*63556df6SFrank Li              - fsl,imx8qxp-dma-apbh
350642b3f4SMarek Vasut          - const: fsl,imx28-dma-apbh
360642b3f4SMarek Vasut      - enum:
370642b3f4SMarek Vasut          - fsl,imx23-dma-apbh
380642b3f4SMarek Vasut          - fsl,imx23-dma-apbx
390642b3f4SMarek Vasut          - fsl,imx28-dma-apbh
400642b3f4SMarek Vasut          - fsl,imx28-dma-apbx
410642b3f4SMarek Vasut  reg:
420642b3f4SMarek Vasut    maxItems: 1
430642b3f4SMarek Vasut
440642b3f4SMarek Vasut  clocks:
450642b3f4SMarek Vasut    maxItems: 1
460642b3f4SMarek Vasut
470642b3f4SMarek Vasut  interrupts:
480642b3f4SMarek Vasut    minItems: 4
490642b3f4SMarek Vasut    maxItems: 16
500642b3f4SMarek Vasut
510642b3f4SMarek Vasut  "#dma-cells":
520642b3f4SMarek Vasut    const: 1
530642b3f4SMarek Vasut
540642b3f4SMarek Vasut  dma-channels:
550642b3f4SMarek Vasut    enum: [4, 8, 16]
560642b3f4SMarek Vasut
57*63556df6SFrank Li  power-domains:
58*63556df6SFrank Li    maxItems: 1
59*63556df6SFrank Li
600642b3f4SMarek Vasutrequired:
610642b3f4SMarek Vasut  - compatible
620642b3f4SMarek Vasut  - reg
630642b3f4SMarek Vasut  - "#dma-cells"
640642b3f4SMarek Vasut  - dma-channels
650642b3f4SMarek Vasut  - interrupts
660642b3f4SMarek Vasut
670642b3f4SMarek VasutadditionalProperties: false
680642b3f4SMarek Vasut
690642b3f4SMarek Vasutexamples:
700642b3f4SMarek Vasut  - |
710642b3f4SMarek Vasut    interrupt-parent = <&irqc>;
720642b3f4SMarek Vasut
730642b3f4SMarek Vasut    dma-controller@80004000 {
740642b3f4SMarek Vasut      compatible = "fsl,imx28-dma-apbh";
750642b3f4SMarek Vasut      reg = <0x80004000 0x2000>;
760642b3f4SMarek Vasut      interrupts = <82 83 84 85
770642b3f4SMarek Vasut                    88 88 88 88
780642b3f4SMarek Vasut                    88 88 88 88
790642b3f4SMarek Vasut                    87 86 0 0>;
800642b3f4SMarek Vasut      #dma-cells = <1>;
810642b3f4SMarek Vasut      dma-channels = <16>;
820642b3f4SMarek Vasut    };
830642b3f4SMarek Vasut
840642b3f4SMarek Vasut    dma-controller@80024000 {
850642b3f4SMarek Vasut      compatible = "fsl,imx28-dma-apbx";
860642b3f4SMarek Vasut      reg = <0x80024000 0x2000>;
870642b3f4SMarek Vasut      interrupts = <78 79 66 0
880642b3f4SMarek Vasut                    80 81 68 69
890642b3f4SMarek Vasut                    70 71 72 73
900642b3f4SMarek Vasut                    74 75 76 77>;
910642b3f4SMarek Vasut      #dma-cells = <1>;
920642b3f4SMarek Vasut      dma-channels = <16>;
930642b3f4SMarek Vasut    };
940642b3f4SMarek Vasut
950642b3f4SMarek Vasut...
96