Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/dma/renesas,rzn1-dmamux.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Renesas RZ/N1 DMA mux
0008 
0009 maintainers:
0010   - Miquel Raynal <miquel.raynal@bootlin.com>
0011 
0012 allOf:
0013   - $ref: "dma-router.yaml#"
0014 
0015 properties:
0016   compatible:
0017     const: renesas,rzn1-dmamux
0018 
0019   reg:
0020     maxItems: 1
0021     description: DMA mux first register offset within the system control parent.
0022 
0023   '#dma-cells':
0024     const: 6
0025     description:
0026       The first four cells are dedicated to the master DMA controller. The fifth
0027       cell gives the DMA mux bit index that must be set starting from 0. The
0028       sixth cell gives the binary value that must be written there, ie. 0 or 1.
0029 
0030   dma-masters:
0031     minItems: 1
0032     maxItems: 2
0033 
0034   dma-requests:
0035     const: 32
0036 
0037 required:
0038   - reg
0039   - dma-requests
0040 
0041 additionalProperties: false
0042 
0043 examples:
0044   - |
0045     dma-router@a0 {
0046       compatible = "renesas,rzn1-dmamux";
0047       reg = <0xa0 4>;
0048       #dma-cells = <6>;
0049       dma-masters = <&dma0 &dma1>;
0050       dma-requests = <32>;
0051     };