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 Common Properties
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    items:
28      maxItems: 1
29    description:
30      Array of phandles to the DMA controllers the router can direct
31      the signal to.
32
33  dma-requests:
34    description:
35      Number of incoming request lines the router can handle.
36
37required:
38  - "#dma-cells"
39  - dma-masters
40
41additionalProperties: true
42
43examples:
44  - |
45    sdma_xbar: dma-router@4a002b78 {
46        compatible = "ti,dra7-dma-crossbar";
47        reg = <0x4a002b78 0xfc>;
48        #dma-cells = <1>;
49        dma-requests = <205>;
50        ti,dma-safe-map = <0>;
51        dma-masters = <&sdma>;
52    };
53
54...
55