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