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