Path: blob/main/sys/contrib/device-tree/Bindings/dma/fsl-imx-dma.txt
48378 views
* Freescale Direct Memory Access (DMA) Controller for i.MX12This document will only describe differences to the generic DMA Controller and3DMA request bindings as described in dma/dma.txt .45* DMA controller67Required properties:8- compatible : Should be "fsl,<chip>-dma". chip can be imx1, imx21 or imx279- reg : Should contain DMA registers location and length10- interrupts : First item should be DMA interrupt, second one is optional and11should contain DMA Error interrupt12- #dma-cells : Has to be 1. imx-dma does not support anything else.1314Optional properties:15- dma-channels : Number of DMA channels supported. Should be 16.16- #dma-channels : deprecated17- dma-requests : Number of DMA requests supported.18- #dma-requests : deprecated1920Example:2122dma: dma@10001000 {23compatible = "fsl,imx27-dma";24reg = <0x10001000 0x1000>;25interrupts = <32 33>;26#dma-cells = <1>;27dma-channels = <16>;28};293031* DMA client3233Clients have to specify the DMA requests with phandles in a list.3435Required properties:36- dmas: List of one or more DMA request specifiers. One DMA request specifier37consists of a phandle to the DMA controller followed by the integer38specifying the request line.39- dma-names: List of string identifiers for the DMA requests. For the correct40names, have a look at the specific client driver.4142Example:4344sdhci1: sdhci@10013000 {45...46dmas = <&dma 7>;47dma-names = "rx-tx";48...49};505152