10e8011faSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 20e8011faSEmmanuel Vadot%YAML 1.2 30e8011faSEmmanuel Vadot--- 40e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/dma/fsl,imx-dma.yaml# 50e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 60e8011faSEmmanuel Vadot 70e8011faSEmmanuel Vadottitle: Freescale Direct Memory Access (DMA) Controller for i.MX 80e8011faSEmmanuel Vadot 90e8011faSEmmanuel Vadotmaintainers: 100e8011faSEmmanuel Vadot - Animesh Agarwal <animeshagarwal28@gmail.com> 110e8011faSEmmanuel Vadot 120e8011faSEmmanuel VadotallOf: 130e8011faSEmmanuel Vadot - $ref: dma-controller.yaml# 140e8011faSEmmanuel Vadot 150e8011faSEmmanuel Vadotproperties: 160e8011faSEmmanuel Vadot compatible: 170e8011faSEmmanuel Vadot enum: 180e8011faSEmmanuel Vadot - fsl,imx1-dma 190e8011faSEmmanuel Vadot - fsl,imx21-dma 200e8011faSEmmanuel Vadot - fsl,imx27-dma 210e8011faSEmmanuel Vadot 220e8011faSEmmanuel Vadot reg: 230e8011faSEmmanuel Vadot maxItems: 1 240e8011faSEmmanuel Vadot 250e8011faSEmmanuel Vadot interrupts: 260e8011faSEmmanuel Vadot items: 270e8011faSEmmanuel Vadot - description: DMA complete interrupt 280e8011faSEmmanuel Vadot - description: DMA Error interrupt 290e8011faSEmmanuel Vadot minItems: 1 300e8011faSEmmanuel Vadot 31*b2d2a78aSEmmanuel Vadot clocks: 32*b2d2a78aSEmmanuel Vadot maxItems: 2 33*b2d2a78aSEmmanuel Vadot 34*b2d2a78aSEmmanuel Vadot clock-names: 35*b2d2a78aSEmmanuel Vadot items: 36*b2d2a78aSEmmanuel Vadot - const: ipg 37*b2d2a78aSEmmanuel Vadot - const: ahb 38*b2d2a78aSEmmanuel Vadot 390e8011faSEmmanuel Vadot "#dma-cells": 400e8011faSEmmanuel Vadot const: 1 410e8011faSEmmanuel Vadot 420e8011faSEmmanuel Vadot dma-channels: 430e8011faSEmmanuel Vadot const: 16 440e8011faSEmmanuel Vadot 450e8011faSEmmanuel Vadot dma-requests: 460e8011faSEmmanuel Vadot description: Number of DMA requests supported. 470e8011faSEmmanuel Vadot 480e8011faSEmmanuel Vadotrequired: 490e8011faSEmmanuel Vadot - compatible 500e8011faSEmmanuel Vadot - reg 510e8011faSEmmanuel Vadot - interrupts 520e8011faSEmmanuel Vadot - "#dma-cells" 53*b2d2a78aSEmmanuel Vadot - clocks 54*b2d2a78aSEmmanuel Vadot - clock-names 550e8011faSEmmanuel Vadot 560e8011faSEmmanuel VadotadditionalProperties: false 570e8011faSEmmanuel Vadot 580e8011faSEmmanuel Vadotexamples: 590e8011faSEmmanuel Vadot - | 60*b2d2a78aSEmmanuel Vadot #include <dt-bindings/clock/imx27-clock.h> 61*b2d2a78aSEmmanuel Vadot 620e8011faSEmmanuel Vadot dma-controller@10001000 { 630e8011faSEmmanuel Vadot compatible = "fsl,imx27-dma"; 640e8011faSEmmanuel Vadot reg = <0x10001000 0x1000>; 650e8011faSEmmanuel Vadot interrupts = <32 33>; 660e8011faSEmmanuel Vadot #dma-cells = <1>; 670e8011faSEmmanuel Vadot dma-channels = <16>; 68*b2d2a78aSEmmanuel Vadot clocks = <&clks IMX27_CLK_DMA_IPG_GATE>, <&clks IMX27_CLK_DMA_AHB_GATE>; 69*b2d2a78aSEmmanuel Vadot clock-names = "ipg", "ahb"; 700e8011faSEmmanuel Vadot }; 71