WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / dma / allwinner,sun6i-a31-dma.yaml
blobc1676b96daac7e13d370c7c1f32a71f4ea7df3cb
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/dma/allwinner,sun6i-a31-dma.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A31 DMA Controller Device Tree Bindings
9 maintainers:
10   - Chen-Yu Tsai <wens@csie.org>
11   - Maxime Ripard <mripard@kernel.org>
13 allOf:
14   - $ref: "dma-controller.yaml#"
16 properties:
17   "#dma-cells":
18     const: 1
19     description: The cell is the request line number.
21   compatible:
22     oneOf:
23       - const: allwinner,sun6i-a31-dma
24       - const: allwinner,sun8i-a23-dma
25       - const: allwinner,sun8i-a83t-dma
26       - const: allwinner,sun8i-h3-dma
27       - const: allwinner,sun8i-v3s-dma
29   reg:
30     maxItems: 1
32   interrupts:
33     maxItems: 1
35   clocks:
36     maxItems: 1
38   resets:
39     maxItems: 1
41 required:
42   - "#dma-cells"
43   - compatible
44   - reg
45   - interrupts
46   - clocks
47   - resets
49 additionalProperties: false
51 examples:
52   - |
53     dma: dma-controller@1c02000 {
54         compatible = "allwinner,sun6i-a31-dma";
55         reg = <0x01c02000 0x1000>;
56         interrupts = <0 50 4>;
57         clocks = <&ahb1_gates 6>;
58         resets = <&ahb1_rst 6>;
59         #dma-cells = <1>;
60     };
62 ...