| 
     1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/dma/renesas,rzn1-dmamux.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Renesas RZ/N1 DMA mux
    8 
    9 maintainers:
   10   - Miquel Raynal <miquel.raynal@bootlin.com>
   11 
   12 allOf:
   13   - $ref: "dma-router.yaml#"
   14 
   15 properties:
   16   compatible:
   17     const: renesas,rzn1-dmamux
   18 
   19   reg:
   20     maxItems: 1
   21     description: DMA mux first register offset within the system control parent.
   22 
   23   '#dma-cells':
   24     const: 6
   25     description:
   26       The first four cells are dedicated to the master DMA controller. The fifth
   27       cell gives the DMA mux bit index that must be set starting from 0. The
   28       sixth cell gives the binary value that must be written there, ie. 0 or 1.
   29 
   30   dma-masters:
   31     minItems: 1
   32     maxItems: 2
   33 
   34   dma-requests:
   35     const: 32
   36 
   37 required:
   38   - reg
   39   - dma-requests
   40 
   41 additionalProperties: false
   42 
   43 examples:
   44   - |
   45     dma-router@a0 {
   46       compatible = "renesas,rzn1-dmamux";
   47       reg = <0xa0 4>;
   48       #dma-cells = <6>;
   49       dma-masters = <&dma0 &dma1>;
   50       dma-requests = <32>;
   51     };
Cache object: 7290a8d2d9e07f44155fe994d581eaf5 
 
 |