Cirrus Logic ep93xx SoC DMA controller

Schema identifier ($id): "http://devicetree.org/schemas/dma/cirrus,ep9301-dma-m2m.yaml#"

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

Maintainers (maintainers): "Alexander Sverdlin <alexander.sverdlin@gmail.com>", "Nikita Shubin <nikita.shubin@maquefel.me>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "cirrus,ep9301-dma-m2m"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "cirrus,ep9302-dma-m2m", "cirrus,ep9307-dma-m2m", "cirrus,ep9312-dma-m2m", "cirrus,ep9315-dma-m2m"

Item 2

Exact value (const): "cirrus,ep9301-dma-m2m"

reg — required here #

Array item rules (items) #

Item 1

m2m0 channel registers

Item 2

m2m1 channel registers

clocks — required here #

Array item rules (items) #

Item 1

m2m0 channel gate clock

Item 2

m2m1 channel gate clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "m2m0"

Item 2

Exact value (const): "m2m1"

interrupts — required here #

Array item rules (items) #

Item 1

m2m0 channel interrupt

Item 2

m2m1 channel interrupt

#dma-cells — not listed as required here #

Exact value (const): 2

The first cell is the unique device channel number as indicated by this table for ep93xx:

10: SPI controller 11: IDE controller

The second cell is the DMA direction line number:

1: Memory to device 2: Device to memory

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/cirrus,ep9301-syscon.h>
dma-controller@80000100 {
    compatible = "cirrus,ep9301-dma-m2m";
    reg = <0x80000100 0x0040>,
          <0x80000140 0x0040>;
    clocks = <&syscon EP93XX_CLK_M2M0>,
             <&syscon EP93XX_CLK_M2M1>;
    clock-names = "m2m0", "m2m1";
    interrupt-parent = <&vic0>;
    interrupts = <17>, <18>;
    #dma-cells = <2>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page