Microchip AT91 Extensible Direct Memory Access Controller

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

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

Maintainers (maintainers): "Nicolas Ferre <nicolas.ferre@microchip.com>", "Charan Pedumuru <charan.pedumuru@microchip.com>"

The DMA Controller (XDMAC) is a AHB-protocol central direct memory access controller. It performs peripheral data transfer and memory move operations over one or two bus ports through the unidirectional communication channel. Each channel is fully programmable and provides both peripheral or memory-to-memory transfers. The channel features are configurable at implementation.

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

Allowed values (enum): "atmel,sama5d4-dma", "microchip,sama7g5-dma"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,sam9x60-dma", "microchip,sam9x7-dma"

Item 2

Exact value (const): "atmel,sama5d4-dma"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "microchip,lan9691-dma", "microchip,sama7d65-dma"

Item 2

Exact value (const): "microchip,sama7g5-dma"

#dma-cells — required here #

Represents the number of integer cells in the `dmas` property of client
devices. The single cell specifies the channel configuration register:
  - bit 13: SIF (Source Interface Identifier) for memory interface.
  - bit 14: DIF (Destination Interface Identifier) for peripheral interface.
  - bit 30-24: PERID (Peripheral Identifier).

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "dma_clk"

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/at91.h>
#include <dt-bindings/dma/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>
dma-controller@f0008000 {
    compatible = "atmel,sama5d4-dma";
    reg = <0xf0008000 0x1000>;
    interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
    #dma-cells = <1>;
    clocks = <&pmc PMC_TYPE_PERIPHERAL 20>;
    clock-names = "dma_clk";
};

Source notes #

Annotations retained from the schema source

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

Edit this page