xref: /linux/Documentation/devicetree/bindings/dma/renesas,rzn1-dmamux.yaml (revision 34dc1baba215b826e454b8d19e4f24adbeb7d00d)
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
7title: Renesas RZ/N1 DMA mux
8
9maintainers:
10  - Miquel Raynal <miquel.raynal@bootlin.com>
11
12allOf:
13  - $ref: dma-router.yaml#
14
15properties:
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
37required:
38  - reg
39  - dma-requests
40
41additionalProperties: false
42
43examples:
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    };
52