Commit | Line | Data |
---|---|---|
545a29c8 MR |
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 | ||
dd3cb467 | 7 | title: Allwinner A10 DMA Controller |
545a29c8 MR |
8 | |
9 | maintainers: | |
10 | - Chen-Yu Tsai <wens@csie.org> | |
5c7404bb | 11 | - Maxime Ripard <mripard@kernel.org> |
545a29c8 MR |
12 | |
13 | allOf: | |
10cafa2d | 14 | - $ref: dma-controller.yaml# |
545a29c8 MR |
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 | const: allwinner,sun4i-a10-dma | |
26 | ||
27 | reg: | |
28 | maxItems: 1 | |
29 | ||
30 | interrupts: | |
31 | maxItems: 1 | |
32 | ||
33 | clocks: | |
34 | maxItems: 1 | |
35 | ||
36 | required: | |
37 | - "#dma-cells" | |
38 | - compatible | |
39 | - reg | |
40 | - interrupts | |
41 | - clocks | |
42 | ||
43 | additionalProperties: false | |
44 | ||
45 | examples: | |
46 | - | | |
47 | dma: dma-controller@1c02000 { | |
48 | compatible = "allwinner,sun4i-a10-dma"; | |
49 | reg = <0x01c02000 0x1000>; | |
50 | interrupts = <27>; | |
51 | clocks = <&ahb_gates 6>; | |
52 | #dma-cells = <2>; | |
53 | }; | |
54 | ||
55 | ... |