xref: /linux/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/dma/xilinx/xlnx,zynqmp-dpdma.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Xilinx ZynqMP DisplayPort DMA Controller
8
9description: |
10  These bindings describe the DMA engine included in the Xilinx ZynqMP
11  DisplayPort Subsystem. The DMA engine supports up to 6 DMA channels (3
12  channels for a video stream, 1 channel for a graphics stream, and 2 channels
13  for an audio stream).
14
15maintainers:
16  - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
17
18allOf:
19  - $ref: ../dma-controller.yaml#
20
21properties:
22  "#dma-cells":
23    const: 1
24    description: |
25      The cell is the DMA channel ID (see dt-bindings/dma/xlnx-zynqmp-dpdma.h
26      for a list of channel IDs).
27
28  compatible:
29    const: xlnx,zynqmp-dpdma
30
31  reg:
32    maxItems: 1
33
34  interrupts:
35    maxItems: 1
36
37  clocks:
38    description: The AXI clock
39    maxItems: 1
40
41  clock-names:
42    const: axi_clk
43
44  power-domains:
45    maxItems: 1
46
47required:
48  - "#dma-cells"
49  - compatible
50  - reg
51  - interrupts
52  - clocks
53  - clock-names
54  - power-domains
55
56additionalProperties: false
57
58examples:
59  - |
60    #include <dt-bindings/interrupt-controller/arm-gic.h>
61    #include <dt-bindings/power/xlnx-zynqmp-power.h>
62
63    dma: dma-controller@fd4c0000 {
64      compatible = "xlnx,zynqmp-dpdma";
65      reg = <0xfd4c0000 0x1000>;
66      interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
67      interrupt-parent = <&gic>;
68      clocks = <&dpdma_clk>;
69      clock-names = "axi_clk";
70      #dma-cells = <1>;
71      power-domains = <&zynqmp_firmware PD_DP>;
72    };
73
74...
75