Freescale Direct Memory Access (DMA) Controller from i.MX23/i.MX28

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

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

Maintainers (maintainers): "Marek Vasut <marex@denx.de>"

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,imx8qxp-dma-apbh"

When the condition matches (then) #

Required in this object (required): "power-domains"

When the condition does not match (else) #

Properties and child nodes (properties)

power-domains — not listed as required here

false — Not permitted by this property rule.

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,imx23-dma-apbx"

When the condition matches (then) #

Properties and child nodes (properties)

interrupt-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "audio-adc"

Item 2

Exact value (const): "audio-dac"

Item 3

Exact value (const): "spdif-tx"

Item 4

Exact value (const): "i2c"

Item 5

Exact value (const): "saif0"

Item 6

Exact value (const): "empty0"

Item 7

Exact value (const): "auart0-rx"

Item 8

Exact value (const): "auart0-tx"

Item 9

Exact value (const): "auart1-rx"

Item 10

Exact value (const): "auart1-tx"

Item 11

Exact value (const): "saif1"

Item 12

Exact value (const): "empty1"

Item 13

Exact value (const): "empty2"

Item 14

Exact value (const): "empty3"

Item 15

Exact value (const): "empty4"

Item 16

Exact value (const): "empty5"

When the condition does not match (else) #

Properties and child nodes (properties)

interrupt-names — not listed as required here

false — Not permitted by this property rule.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx6q-dma-apbh", "fsl,imx6sx-dma-apbh", "fsl,imx7d-dma-apbh", "fsl,imx8dxl-dma-apbh", "fsl,imx8mm-dma-apbh", "fsl,imx8mn-dma-apbh", "fsl,imx8mp-dma-apbh", "fsl,imx8mq-dma-apbh", "fsl,imx8qm-dma-apbh", "fsl,imx8qxp-dma-apbh"

Item 2

Exact value (const): "fsl,imx28-dma-apbh"

Rule 2

Allowed values (enum): "fsl,imx23-dma-apbh", "fsl,imx23-dma-apbx", "fsl,imx28-dma-apbh", "fsl,imx28-dma-apbx"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 16

interrupt-names — not listed as required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 16

#dma-cells — required here #

Exact value (const): 1

dma-channels — required here #

Allowed values (enum): 4, 8, 16

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

interrupt-parent = <&irqc>;

dma-controller@80004000 {
  compatible = "fsl,imx28-dma-apbh";
  reg = <0x80004000 0x2000>;
  interrupts = <82 83 84 85
                88 88 88 88
                88 88 88 88
                87 86 0 0>;
  #dma-cells = <1>;
  dma-channels = <16>;
};

dma-controller@80024000 {
  compatible = "fsl,imx28-dma-apbx";
  reg = <0x80024000 0x2000>;
  interrupts = <78 79 66 0
                80 81 68 69
                70 71 72 73
                74 75 76 77>;
  #dma-cells = <1>;
  dma-channels = <16>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page