xref: /freebsd/sys/contrib/device-tree/Bindings/dma/allwinner,sun6i-a31-dma.yaml (revision 02e9120893770924227138ba49df1edb3896112a)
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#
6
7title: Allwinner A31 DMA Controller
8
9maintainers:
10  - Chen-Yu Tsai <wens@csie.org>
11  - Maxime Ripard <mripard@kernel.org>
12
13allOf:
14  - $ref: dma-controller.yaml#
15
16properties:
17  "#dma-cells":
18    const: 1
19    description: The cell is the request line number.
20
21  compatible:
22    enum:
23      - allwinner,sun6i-a31-dma
24      - allwinner,sun8i-a23-dma
25      - allwinner,sun8i-a83t-dma
26      - allwinner,sun8i-h3-dma
27      - allwinner,sun8i-v3s-dma
28
29  reg:
30    maxItems: 1
31
32  interrupts:
33    maxItems: 1
34
35  clocks:
36    maxItems: 1
37
38  resets:
39    maxItems: 1
40
41required:
42  - "#dma-cells"
43  - compatible
44  - reg
45  - interrupts
46  - clocks
47  - resets
48
49additionalProperties: false
50
51examples:
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    };
61
62...
63