Xilinx ZynqMP DMA Engine

Schema identifier ($id): "http://devicetree.org/schemas/dma/xilinx/xlnx,zynqmp-dma-1.0.yaml#"

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

The Xilinx ZynqMP DMA engine supports memory to memory transfers, memory to device and device to memory transfers. It also has flow control and rate control support for slave/peripheral dma access.

Maintainers (maintainers): "Michael Tretter <m.tretter@pengutronix.de>", "Harini Katakam <harini.katakam@amd.com>", "Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

#dma-cells — required here #

Exact value (const): 1

compatible — required here #

Allowed values (enum): "amd,versal2-dma-1.0", "xlnx,zynqmp-dma-1.0"

reg — required here #

memory map for gdma/adma module access

Maximum number of items (maxItems): 1

interrupts — required here #

DMA channel interrupt

Maximum number of items (maxItems): 1

clocks — required here #

input clocks

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "clk_main"

Item 2

Exact value (const): "clk_apb"

xlnx,bus-width — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 64, 128

AXI bus width in bits

iommus — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

dma-coherent — not listed as required here #

true — No constraints added by this property rule.

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

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

false

Not allowed by this rule.

Examples (examples) #


fpd_dma_chan1: dma-controller@fd500000 {
  compatible = "xlnx,zynqmp-dma-1.0";
  reg = <0xfd500000 0x1000>;
  interrupt-parent = <&gic>;
  interrupts = <0 117 0x4>;
  #dma-cells = <1>;
  clock-names = "clk_main", "clk_apb";
  clocks = <&zynqmp_clk 19>, <&zynqmp_clk 31>;
  xlnx,bus-width = <128>;
  dma-coherent;
};

Source notes #

Annotations retained from the schema source

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

Edit this page