Debian Codegraph @

Documentation/devicetree/bindings/dma/allwinner,sun4i-a10-dma.yaml

raw
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/dma/allwinner,sun4i-a10-dma.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Allwinner A10 DMA Controller
8
9 maintainers:
10 - Chen-Yu Tsai <[email protected]>
11 - Maxime Ripard <[email protected]>
12
13 allOf:
14 - $ref: dma-controller.yaml#
15
16 properties:
17 "#dma-cells":
18 const: 2
19 description:
20 The first cell is either 0 or 1, the former to use the normal
21 DMA, 1 for dedicated DMA. The second cell is the request line
22 number.
23
24 compatible:
25 enum:
26 - allwinner,sun4i-a10-dma
27 - allwinner,suniv-f1c100s-dma
28
29 reg:
30 maxItems: 1
31
32 interrupts:
33 maxItems: 1
34
35 clocks:
36 maxItems: 1
37
38 required:
39 - "#dma-cells"
40 - compatible
41 - reg
42 - interrupts
43 - clocks
44
45 additionalProperties: false
46
47 examples:
48 - |
49 dma: dma-controller@1c02000 {
50 compatible = "allwinner,sun4i-a10-dma";
51 reg = <0x01c02000 0x1000>;
52 interrupts = <27>;
53 clocks = <&ahb_gates 6>;
54 #dma-cells = <2>;
55 };
56
57 ...