Path: blob/main/sys/contrib/device-tree/Bindings/dma/fsl-mxs-dma.txt
48375 views
* Freescale MXS DMA12Required properties:3- compatible : Should be "fsl,<chip>-dma-apbh" or "fsl,<chip>-dma-apbx"4- reg : Should contain registers location and length5- interrupts : Should contain the interrupt numbers of DMA channels.6If a channel is empty/reserved, 0 should be filled in place.7- #dma-cells : Must be <1>. The number cell specifies the channel ID.8- dma-channels : Number of channels supported by the DMA controller910Optional properties:11- interrupt-names : Name of DMA channel interrupts1213Supported chips:14imx23, imx28.1516Examples:1718dma_apbh: dma-apbh@80004000 {19compatible = "fsl,imx28-dma-apbh";20reg = <0x80004000 0x2000>;21interrupts = <82 83 84 852288 88 88 882388 88 88 882487 86 0 0>;25interrupt-names = "ssp0", "ssp1", "ssp2", "ssp3",26"gpmi0", "gmpi1", "gpmi2", "gmpi3",27"gpmi4", "gmpi5", "gpmi6", "gmpi7",28"hsadc", "lcdif", "empty", "empty";29#dma-cells = <1>;30dma-channels = <16>;31};3233dma_apbx: dma-apbx@80024000 {34compatible = "fsl,imx28-dma-apbx";35reg = <0x80024000 0x2000>;36interrupts = <78 79 66 03780 81 68 693870 71 72 733974 75 76 77>;40interrupt-names = "auart4-rx", "auart4-tx", "spdif-tx", "empty",41"saif0", "saif1", "i2c0", "i2c1",42"auart0-rx", "auart0-tx", "auart1-rx", "auart1-tx",43"auart2-rx", "auart2-tx", "auart3-rx", "auart3-tx";44#dma-cells = <1>;45dma-channels = <16>;46};4748DMA clients connected to the MXS DMA controller must use the format49described in the dma.txt file.5051Examples:5253auart0: serial@8006a000 {54compatible = "fsl,imx28-auart", "fsl,imx23-auart";55reg = <0x8006a000 0x2000>;56interrupts = <112>;57dmas = <&dma_apbx 8>, <&dma_apbx 9>;58dma-names = "rx", "tx";59};606162