xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/dma/socionext,uniphier-xdmac.yaml (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*4882a593Smuzhiyun%YAML 1.2
3*4882a593Smuzhiyun---
4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/dma/socionext,uniphier-xdmac.yaml#
5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml#
6*4882a593Smuzhiyun
7*4882a593Smuzhiyuntitle: Socionext UniPhier external DMA controller
8*4882a593Smuzhiyun
9*4882a593Smuzhiyundescription: |
10*4882a593Smuzhiyun  This describes the devicetree bindings for an external DMA engine to perform
11*4882a593Smuzhiyun  memory-to-memory or peripheral-to-memory data transfer capable of supporting
12*4882a593Smuzhiyun  16 channels, implemented in Socionext UniPhier SoCs.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunmaintainers:
15*4882a593Smuzhiyun  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunallOf:
18*4882a593Smuzhiyun  - $ref: "dma-controller.yaml#"
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunproperties:
21*4882a593Smuzhiyun  compatible:
22*4882a593Smuzhiyun    const: socionext,uniphier-xdmac
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun  reg:
25*4882a593Smuzhiyun    maxItems: 1
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun  interrupts:
28*4882a593Smuzhiyun    maxItems: 1
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun  "#dma-cells":
31*4882a593Smuzhiyun    const: 2
32*4882a593Smuzhiyun    description: |
33*4882a593Smuzhiyun      DMA request from clients consists of 2 cells:
34*4882a593Smuzhiyun        1. Channel index
35*4882a593Smuzhiyun        2. Transfer request factor number, If no transfer factor, use 0.
36*4882a593Smuzhiyun           The number is SoC-specific, and this should be specified with
37*4882a593Smuzhiyun           relation to the device to use the DMA controller.
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun  dma-channels:
40*4882a593Smuzhiyun    minimum: 1
41*4882a593Smuzhiyun    maximum: 16
42*4882a593Smuzhiyun
43*4882a593SmuzhiyunadditionalProperties: false
44*4882a593Smuzhiyun
45*4882a593Smuzhiyunrequired:
46*4882a593Smuzhiyun  - compatible
47*4882a593Smuzhiyun  - reg
48*4882a593Smuzhiyun  - interrupts
49*4882a593Smuzhiyun  - "#dma-cells"
50*4882a593Smuzhiyun  - dma-channels
51*4882a593Smuzhiyun
52*4882a593Smuzhiyunexamples:
53*4882a593Smuzhiyun  - |
54*4882a593Smuzhiyun    xdmac: dma-controller@5fc10000 {
55*4882a593Smuzhiyun        compatible = "socionext,uniphier-xdmac";
56*4882a593Smuzhiyun        reg = <0x5fc10000 0x5300>;
57*4882a593Smuzhiyun        interrupts = <0 188 4>;
58*4882a593Smuzhiyun        #dma-cells = <2>;
59*4882a593Smuzhiyun        dma-channels = <16>;
60*4882a593Smuzhiyun    };
61*4882a593Smuzhiyun
62*4882a593Smuzhiyun...
63