Merge tag 'efi_updates_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / dma / dma-router.yaml
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
7 title: DMA Router Generic Binding
8
9 maintainers:
10   - Vinod Koul <vkoul@kernel.org>
11
12 allOf:
13   - $ref: "dma-common.yaml#"
14
15 description:
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
21 properties:
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
35 required:
36   - "#dma-cells"
37   - dma-masters
38
39 additionalProperties: true
40
41 examples:
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 ...