xref: /openbmc/linux/Documentation/devicetree/bindings/dma/allwinner,sun4i-a10-dma.yaml (revision 545a29c811f6a07433c2725a94243f56ae28a81f)
1*545a29c8SMaxime Ripard# SPDX-License-Identifier: GPL-2.0
2*545a29c8SMaxime Ripard%YAML 1.2
3*545a29c8SMaxime Ripard---
4*545a29c8SMaxime Ripard$id: http://devicetree.org/schemas/dma/allwinner,sun4i-a10-dma.yaml#
5*545a29c8SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml#
6*545a29c8SMaxime Ripard
7*545a29c8SMaxime Ripardtitle: Allwinner A10 DMA Controller Device Tree Bindings
8*545a29c8SMaxime Ripard
9*545a29c8SMaxime Ripardmaintainers:
10*545a29c8SMaxime Ripard  - Chen-Yu Tsai <wens@csie.org>
11*545a29c8SMaxime Ripard  - Maxime Ripard <maxime.ripard@bootlin.com>
12*545a29c8SMaxime Ripard
13*545a29c8SMaxime RipardallOf:
14*545a29c8SMaxime Ripard  - $ref: "dma-controller.yaml#"
15*545a29c8SMaxime Ripard
16*545a29c8SMaxime Ripardproperties:
17*545a29c8SMaxime Ripard  "#dma-cells":
18*545a29c8SMaxime Ripard    const: 2
19*545a29c8SMaxime Ripard    description:
20*545a29c8SMaxime Ripard      The first cell is either 0 or 1, the former to use the normal
21*545a29c8SMaxime Ripard      DMA, 1 for dedicated DMA. The second cell is the request line
22*545a29c8SMaxime Ripard      number.
23*545a29c8SMaxime Ripard
24*545a29c8SMaxime Ripard  compatible:
25*545a29c8SMaxime Ripard    const: allwinner,sun4i-a10-dma
26*545a29c8SMaxime Ripard
27*545a29c8SMaxime Ripard  reg:
28*545a29c8SMaxime Ripard    maxItems: 1
29*545a29c8SMaxime Ripard
30*545a29c8SMaxime Ripard  interrupts:
31*545a29c8SMaxime Ripard    maxItems: 1
32*545a29c8SMaxime Ripard
33*545a29c8SMaxime Ripard  clocks:
34*545a29c8SMaxime Ripard    maxItems: 1
35*545a29c8SMaxime Ripard
36*545a29c8SMaxime Ripardrequired:
37*545a29c8SMaxime Ripard  - "#dma-cells"
38*545a29c8SMaxime Ripard  - compatible
39*545a29c8SMaxime Ripard  - reg
40*545a29c8SMaxime Ripard  - interrupts
41*545a29c8SMaxime Ripard  - clocks
42*545a29c8SMaxime Ripard
43*545a29c8SMaxime RipardadditionalProperties: false
44*545a29c8SMaxime Ripard
45*545a29c8SMaxime Ripardexamples:
46*545a29c8SMaxime Ripard  - |
47*545a29c8SMaxime Ripard    dma: dma-controller@1c02000 {
48*545a29c8SMaxime Ripard        compatible = "allwinner,sun4i-a10-dma";
49*545a29c8SMaxime Ripard        reg = <0x01c02000 0x1000>;
50*545a29c8SMaxime Ripard        interrupts = <27>;
51*545a29c8SMaxime Ripard        clocks = <&ahb_gates 6>;
52*545a29c8SMaxime Ripard        #dma-cells = <2>;
53*545a29c8SMaxime Ripard    };
54*545a29c8SMaxime Ripard
55*545a29c8SMaxime Ripard...
56