Freescale Direct Memory Access (DMA) Controller for i.MX

Schema identifier ($id): "http://devicetree.org/schemas/dma/fsl,imx-dma.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Animesh Agarwal <animeshagarwal28@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dma-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx1-dma", "fsl,imx21-dma", "fsl,imx27-dma"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

DMA complete interrupt

Item 2

DMA Error interrupt

Minimum number of items (minItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ipg"

Item 2

Exact value (const): "ahb"

#dma-cells — required here #

Exact value (const): 1

dma-channels — not listed as required here #

Exact value (const): 16

dma-requests — not listed as required here #

Number of DMA requests supported.

Required in this object (required): "compatible", "reg", "interrupts", "#dma-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx27-clock.h>

dma-controller@10001000 {
  compatible = "fsl,imx27-dma";
  reg = <0x10001000 0x1000>;
  interrupts = <32 33>;
  #dma-cells = <1>;
  dma-channels = <16>;
  clocks = <&clks IMX27_CLK_DMA_IPG_GATE>, <&clks IMX27_CLK_DMA_AHB_GATE>;
  clock-names = "ipg", "ahb";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page