Debian Codegraph @

Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dma-1.0.yaml

raw
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-dma-1.0.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Xilinx ZynqMP DMA Engine
8
9 description: |
10 The Xilinx ZynqMP DMA engine supports memory to memory transfers,
11 memory to device and device to memory transfers. It also has flow
12 control and rate control support for slave/peripheral dma access.
13
14 maintainers:
15 - Michael Tretter <[email protected]>
16 - Harini Katakam <[email protected]>
17 - Radhey Shyam Pandey <[email protected]>
18
19 allOf:
20 - $ref: ../dma-controller.yaml#
21
22 properties:
23 "#dma-cells":
24 const: 1
25
26 compatible:
27 enum:
28 - amd,versal2-dma-1.0
29 - xlnx,zynqmp-dma-1.0
30
31 reg:
32 description: memory map for gdma/adma module access
33 maxItems: 1
34
35 interrupts:
36 description: DMA channel interrupt
37 maxItems: 1
38
39 clocks:
40 description: input clocks
41 minItems: 2
42 maxItems: 2
43
44 clock-names:
45 items:
46 - const: clk_main
47 - const: clk_apb
48
49 xlnx,bus-width:
50 $ref: /schemas/types.yaml#/definitions/uint32
51 enum:
52 - 64
53 - 128
54 description: AXI bus width in bits
55
56 iommus:
57 maxItems: 1
58
59 power-domains:
60 maxItems: 1
61
62 dma-coherent: true
63
64 required:
65 - "#dma-cells"
66 - compatible
67 - reg
68 - interrupts
69 - clocks
70 - clock-names
71 - xlnx,bus-width
72
73 additionalProperties: false
74
75 examples:
76 - |
77
78 fpd_dma_chan1: dma-controller@fd500000 {
79 compatible = "xlnx,zynqmp-dma-1.0";
80 reg = <0xfd500000 0x1000>;
81 interrupt-parent = <&gic>;
82 interrupts = <0 117 0x4>;
83 #dma-cells = <1>;
84 clock-names = "clk_main", "clk_apb";
85 clocks = <&zynqmp_clk 19>, <&zynqmp_clk 31>;
86 xlnx,bus-width = <128>;
87 dma-coherent;
88 };