xref: /openbmc/linux/Documentation/devicetree/bindings/dma/allwinner,sun4i-a10-dma.yaml (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1545a29c8SMaxime Ripard# SPDX-License-Identifier: GPL-2.0
2545a29c8SMaxime Ripard%YAML 1.2
3545a29c8SMaxime Ripard---
4545a29c8SMaxime Ripard$id: http://devicetree.org/schemas/dma/allwinner,sun4i-a10-dma.yaml#
5545a29c8SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml#
6545a29c8SMaxime Ripard
7dd3cb467SAndrew Lunntitle: Allwinner A10 DMA Controller
8545a29c8SMaxime Ripard
9545a29c8SMaxime Ripardmaintainers:
10545a29c8SMaxime Ripard  - Chen-Yu Tsai <wens@csie.org>
115c7404bbSMaxime Ripard  - Maxime Ripard <mripard@kernel.org>
12545a29c8SMaxime Ripard
13545a29c8SMaxime RipardallOf:
14*10cafa2dSKrzysztof Kozlowski  - $ref: dma-controller.yaml#
15545a29c8SMaxime Ripard
16545a29c8SMaxime Ripardproperties:
17545a29c8SMaxime Ripard  "#dma-cells":
18545a29c8SMaxime Ripard    const: 2
19545a29c8SMaxime Ripard    description:
20545a29c8SMaxime Ripard      The first cell is either 0 or 1, the former to use the normal
21545a29c8SMaxime Ripard      DMA, 1 for dedicated DMA. The second cell is the request line
22545a29c8SMaxime Ripard      number.
23545a29c8SMaxime Ripard
24545a29c8SMaxime Ripard  compatible:
25545a29c8SMaxime Ripard    const: allwinner,sun4i-a10-dma
26545a29c8SMaxime Ripard
27545a29c8SMaxime Ripard  reg:
28545a29c8SMaxime Ripard    maxItems: 1
29545a29c8SMaxime Ripard
30545a29c8SMaxime Ripard  interrupts:
31545a29c8SMaxime Ripard    maxItems: 1
32545a29c8SMaxime Ripard
33545a29c8SMaxime Ripard  clocks:
34545a29c8SMaxime Ripard    maxItems: 1
35545a29c8SMaxime Ripard
36545a29c8SMaxime Ripardrequired:
37545a29c8SMaxime Ripard  - "#dma-cells"
38545a29c8SMaxime Ripard  - compatible
39545a29c8SMaxime Ripard  - reg
40545a29c8SMaxime Ripard  - interrupts
41545a29c8SMaxime Ripard  - clocks
42545a29c8SMaxime Ripard
43545a29c8SMaxime RipardadditionalProperties: false
44545a29c8SMaxime Ripard
45545a29c8SMaxime Ripardexamples:
46545a29c8SMaxime Ripard  - |
47545a29c8SMaxime Ripard    dma: dma-controller@1c02000 {
48545a29c8SMaxime Ripard        compatible = "allwinner,sun4i-a10-dma";
49545a29c8SMaxime Ripard        reg = <0x01c02000 0x1000>;
50545a29c8SMaxime Ripard        interrupts = <27>;
51545a29c8SMaxime Ripard        clocks = <&ahb_gates 6>;
52545a29c8SMaxime Ripard        #dma-cells = <2>;
53545a29c8SMaxime Ripard    };
54545a29c8SMaxime Ripard
55545a29c8SMaxime Ripard...
56