WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / dma / dma-router.yaml
blobe72748496fd91e0f3c7b3911c6a86b134c8d917b
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#
7 title: DMA Router Generic Binding
9 maintainers:
10   - Vinod Koul <vkoul@kernel.org>
12 allOf:
13   - $ref: "dma-common.yaml#"
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.
21 properties:
22   $nodename:
23     pattern: "^dma-router(@.*)?$"
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.
31   dma-requests:
32     description:
33       Number of incoming request lines the router can handle.
35 required:
36   - "#dma-cells"
37   - dma-masters
39 additionalProperties: true
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     };
52 ...