Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/dma/dma-router.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: DMA Router Generic Binding
0008 
0009 maintainers:
0010   - Vinod Koul <vkoul@kernel.org>
0011 
0012 allOf:
0013   - $ref: "dma-common.yaml#"
0014 
0015 description:
0016   DMA routers are transparent IP blocks used to route DMA request
0017   lines from devices to the DMA controller. Some SoCs (like TI DRA7x)
0018   have more peripherals integrated with DMA requests than what the DMA
0019   controller can handle directly.
0020 
0021 properties:
0022   $nodename:
0023     pattern: "^dma-router(@.*)?$"
0024 
0025   dma-masters:
0026     $ref: /schemas/types.yaml#/definitions/phandle-array
0027     items:
0028       maxItems: 1
0029     description:
0030       Array of phandles to the DMA controllers the router can direct
0031       the signal to.
0032 
0033   dma-requests:
0034     description:
0035       Number of incoming request lines the router can handle.
0036 
0037 required:
0038   - "#dma-cells"
0039   - dma-masters
0040 
0041 additionalProperties: true
0042 
0043 examples:
0044   - |
0045     sdma_xbar: dma-router@4a002b78 {
0046         compatible = "ti,dra7-dma-crossbar";
0047         reg = <0x4a002b78 0xfc>;
0048         #dma-cells = <1>;
0049         dma-requests = <205>;
0050         ti,dma-safe-map = <0>;
0051         dma-masters = <&sdma>;
0052     };
0053 
0054 ...