xref: /linux/Documentation/devicetree/bindings/dma/renesas,rzn1-dmamux.yaml (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
16cd4154aSMiquel Raynal# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
26cd4154aSMiquel Raynal%YAML 1.2
36cd4154aSMiquel Raynal---
46cd4154aSMiquel Raynal$id: http://devicetree.org/schemas/dma/renesas,rzn1-dmamux.yaml#
56cd4154aSMiquel Raynal$schema: http://devicetree.org/meta-schemas/core.yaml#
66cd4154aSMiquel Raynal
76cd4154aSMiquel Raynaltitle: Renesas RZ/N1 DMA mux
86cd4154aSMiquel Raynal
96cd4154aSMiquel Raynalmaintainers:
106cd4154aSMiquel Raynal  - Miquel Raynal <miquel.raynal@bootlin.com>
116cd4154aSMiquel Raynal
126cd4154aSMiquel RaynalallOf:
13*10cafa2dSKrzysztof Kozlowski  - $ref: dma-router.yaml#
146cd4154aSMiquel Raynal
156cd4154aSMiquel Raynalproperties:
166cd4154aSMiquel Raynal  compatible:
176cd4154aSMiquel Raynal    const: renesas,rzn1-dmamux
186cd4154aSMiquel Raynal
196cd4154aSMiquel Raynal  reg:
206cd4154aSMiquel Raynal    maxItems: 1
216cd4154aSMiquel Raynal    description: DMA mux first register offset within the system control parent.
226cd4154aSMiquel Raynal
236cd4154aSMiquel Raynal  '#dma-cells':
246cd4154aSMiquel Raynal    const: 6
256cd4154aSMiquel Raynal    description:
266cd4154aSMiquel Raynal      The first four cells are dedicated to the master DMA controller. The fifth
276cd4154aSMiquel Raynal      cell gives the DMA mux bit index that must be set starting from 0. The
286cd4154aSMiquel Raynal      sixth cell gives the binary value that must be written there, ie. 0 or 1.
296cd4154aSMiquel Raynal
306cd4154aSMiquel Raynal  dma-masters:
316cd4154aSMiquel Raynal    minItems: 1
326cd4154aSMiquel Raynal    maxItems: 2
336cd4154aSMiquel Raynal
346cd4154aSMiquel Raynal  dma-requests:
356cd4154aSMiquel Raynal    const: 32
366cd4154aSMiquel Raynal
376cd4154aSMiquel Raynalrequired:
386cd4154aSMiquel Raynal  - reg
396cd4154aSMiquel Raynal  - dma-requests
406cd4154aSMiquel Raynal
416cd4154aSMiquel RaynaladditionalProperties: false
426cd4154aSMiquel Raynal
436cd4154aSMiquel Raynalexamples:
446cd4154aSMiquel Raynal  - |
456cd4154aSMiquel Raynal    dma-router@a0 {
466cd4154aSMiquel Raynal      compatible = "renesas,rzn1-dmamux";
476cd4154aSMiquel Raynal      reg = <0xa0 4>;
486cd4154aSMiquel Raynal      #dma-cells = <6>;
496cd4154aSMiquel Raynal      dma-masters = <&dma0 &dma1>;
506cd4154aSMiquel Raynal      dma-requests = <32>;
516cd4154aSMiquel Raynal    };
52