xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/dma/dma-router.yaml (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun%YAML 1.2
3*4882a593Smuzhiyun---
4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/dma/dma-router.yaml#
5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml#
6*4882a593Smuzhiyun
7*4882a593Smuzhiyuntitle: DMA Router Generic Binding
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunmaintainers:
10*4882a593Smuzhiyun  - Vinod Koul <vkoul@kernel.org>
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunallOf:
13*4882a593Smuzhiyun  - $ref: "dma-common.yaml#"
14*4882a593Smuzhiyun
15*4882a593Smuzhiyundescription:
16*4882a593Smuzhiyun  DMA routers are transparent IP blocks used to route DMA request
17*4882a593Smuzhiyun  lines from devices to the DMA controller. Some SoCs (like TI DRA7x)
18*4882a593Smuzhiyun  have more peripherals integrated with DMA requests than what the DMA
19*4882a593Smuzhiyun  controller can handle directly.
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunproperties:
22*4882a593Smuzhiyun  $nodename:
23*4882a593Smuzhiyun    pattern: "^dma-router(@.*)?$"
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun  dma-masters:
26*4882a593Smuzhiyun    $ref: /schemas/types.yaml#definitions/phandle-array
27*4882a593Smuzhiyun    description:
28*4882a593Smuzhiyun      Array of phandles to the DMA controllers the router can direct
29*4882a593Smuzhiyun      the signal to.
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun  dma-requests:
32*4882a593Smuzhiyun    description:
33*4882a593Smuzhiyun      Number of incoming request lines the router can handle.
34*4882a593Smuzhiyun
35*4882a593Smuzhiyunrequired:
36*4882a593Smuzhiyun  - "#dma-cells"
37*4882a593Smuzhiyun  - dma-masters
38*4882a593Smuzhiyun
39*4882a593SmuzhiyunadditionalProperties: true
40*4882a593Smuzhiyun
41*4882a593Smuzhiyunexamples:
42*4882a593Smuzhiyun  - |
43*4882a593Smuzhiyun    sdma_xbar: dma-router@4a002b78 {
44*4882a593Smuzhiyun        compatible = "ti,dra7-dma-crossbar";
45*4882a593Smuzhiyun        reg = <0x4a002b78 0xfc>;
46*4882a593Smuzhiyun        #dma-cells = <1>;
47*4882a593Smuzhiyun        dma-requests = <205>;
48*4882a593Smuzhiyun        ti,dma-safe-map = <0>;
49*4882a593Smuzhiyun        dma-masters = <&sdma>;
50*4882a593Smuzhiyun    };
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun...
53