Socionext UniPhier external DMA controller

Schema identifier ($id): "http://devicetree.org/schemas/dma/socionext,uniphier-xdmac.yaml#"

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

This describes the devicetree bindings for an external DMA engine to perform memory-to-memory or peripheral-to-memory data transfer capable of supporting 16 channels, implemented in Socionext UniPhier SoCs.

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.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 #

Exact value (const): "socionext,uniphier-xdmac"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#dma-cells — required here #

Exact value (const): 2

DMA request from clients consists of 2 cells:
  1. Channel index
  2. Transfer request factor number, If no transfer factor, use 0.
     The number is SoC-specific, and this should be specified with
     relation to the device to use the DMA controller.

dma-channels — required here #

Minimum value (minimum): 1

Maximum value (maximum): 16

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

false

Not allowed by this rule.

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

Examples (examples) #

xdmac: dma-controller@5fc10000 {
    compatible = "socionext,uniphier-xdmac";
    reg = <0x5fc10000 0x5300>;
    interrupts = <0 188 4>;
    #dma-cells = <2>;
    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