0001 * Freescale MXS DMA
0002
0003 Required properties:
0004 - compatible : Should be "fsl,<chip>-dma-apbh" or "fsl,<chip>-dma-apbx"
0005 - reg : Should contain registers location and length
0006 - interrupts : Should contain the interrupt numbers of DMA channels.
0007 If a channel is empty/reserved, 0 should be filled in place.
0008 - #dma-cells : Must be <1>. The number cell specifies the channel ID.
0009 - dma-channels : Number of channels supported by the DMA controller
0010
0011 Optional properties:
0012 - interrupt-names : Name of DMA channel interrupts
0013
0014 Supported chips:
0015 imx23, imx28.
0016
0017 Examples:
0018
0019 dma_apbh: dma-apbh@80004000 {
0020 compatible = "fsl,imx28-dma-apbh";
0021 reg = <0x80004000 0x2000>;
0022 interrupts = <82 83 84 85
0023 88 88 88 88
0024 88 88 88 88
0025 87 86 0 0>;
0026 interrupt-names = "ssp0", "ssp1", "ssp2", "ssp3",
0027 "gpmi0", "gmpi1", "gpmi2", "gmpi3",
0028 "gpmi4", "gmpi5", "gpmi6", "gmpi7",
0029 "hsadc", "lcdif", "empty", "empty";
0030 #dma-cells = <1>;
0031 dma-channels = <16>;
0032 };
0033
0034 dma_apbx: dma-apbx@80024000 {
0035 compatible = "fsl,imx28-dma-apbx";
0036 reg = <0x80024000 0x2000>;
0037 interrupts = <78 79 66 0
0038 80 81 68 69
0039 70 71 72 73
0040 74 75 76 77>;
0041 interrupt-names = "auart4-rx", "auart4-tx", "spdif-tx", "empty",
0042 "saif0", "saif1", "i2c0", "i2c1",
0043 "auart0-rx", "auart0-tx", "auart1-rx", "auart1-tx",
0044 "auart2-rx", "auart2-tx", "auart3-rx", "auart3-tx";
0045 #dma-cells = <1>;
0046 dma-channels = <16>;
0047 };
0048
0049 DMA clients connected to the MXS DMA controller must use the format
0050 described in the dma.txt file.
0051
0052 Examples:
0053
0054 auart0: serial@8006a000 {
0055 compatible = "fsl,imx28-auart", "fsl,imx23-auart";
0056 reg = <0x8006a000 0x2000>;
0057 interrupts = <112>;
0058 dmas = <&dma_apbx 8>, <&dma_apbx 9>;
0059 dma-names = "rx", "tx";
0060 };