1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/dma/socionext,uniphier-xdmac.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Socionext UniPhier external DMA controller 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotdescription: | 10c66ec88fSEmmanuel Vadot This describes the devicetree bindings for an external DMA engine to perform 11c66ec88fSEmmanuel Vadot memory-to-memory or peripheral-to-memory data transfer capable of supporting 12c66ec88fSEmmanuel Vadot 16 channels, implemented in Socionext UniPhier SoCs. 13c66ec88fSEmmanuel Vadot 14c66ec88fSEmmanuel Vadotmaintainers: 15c66ec88fSEmmanuel Vadot - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel VadotallOf: 18*cb7aa33aSEmmanuel Vadot - $ref: dma-controller.yaml# 19c66ec88fSEmmanuel Vadot 20c66ec88fSEmmanuel Vadotproperties: 21c66ec88fSEmmanuel Vadot compatible: 22c66ec88fSEmmanuel Vadot const: socionext,uniphier-xdmac 23c66ec88fSEmmanuel Vadot 24c66ec88fSEmmanuel Vadot reg: 25c66ec88fSEmmanuel Vadot maxItems: 1 26c66ec88fSEmmanuel Vadot 27c66ec88fSEmmanuel Vadot interrupts: 28c66ec88fSEmmanuel Vadot maxItems: 1 29c66ec88fSEmmanuel Vadot 30c66ec88fSEmmanuel Vadot "#dma-cells": 31c66ec88fSEmmanuel Vadot const: 2 32c66ec88fSEmmanuel Vadot description: | 33c66ec88fSEmmanuel Vadot DMA request from clients consists of 2 cells: 34c66ec88fSEmmanuel Vadot 1. Channel index 35c66ec88fSEmmanuel Vadot 2. Transfer request factor number, If no transfer factor, use 0. 36c66ec88fSEmmanuel Vadot The number is SoC-specific, and this should be specified with 37c66ec88fSEmmanuel Vadot relation to the device to use the DMA controller. 38c66ec88fSEmmanuel Vadot 39c66ec88fSEmmanuel Vadot dma-channels: 40c66ec88fSEmmanuel Vadot minimum: 1 41c66ec88fSEmmanuel Vadot maximum: 16 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel VadotadditionalProperties: false 44c66ec88fSEmmanuel Vadot 45c66ec88fSEmmanuel Vadotrequired: 46c66ec88fSEmmanuel Vadot - compatible 47c66ec88fSEmmanuel Vadot - reg 48c66ec88fSEmmanuel Vadot - interrupts 49c66ec88fSEmmanuel Vadot - "#dma-cells" 50c66ec88fSEmmanuel Vadot - dma-channels 51c66ec88fSEmmanuel Vadot 52c66ec88fSEmmanuel Vadotexamples: 53c66ec88fSEmmanuel Vadot - | 54c66ec88fSEmmanuel Vadot xdmac: dma-controller@5fc10000 { 55c66ec88fSEmmanuel Vadot compatible = "socionext,uniphier-xdmac"; 56c66ec88fSEmmanuel Vadot reg = <0x5fc10000 0x5300>; 57c66ec88fSEmmanuel Vadot interrupts = <0 188 4>; 58c66ec88fSEmmanuel Vadot #dma-cells = <2>; 59c66ec88fSEmmanuel Vadot dma-channels = <16>; 60c66ec88fSEmmanuel Vadot }; 61c66ec88fSEmmanuel Vadot 62c66ec88fSEmmanuel Vadot... 63