fsl-mxs-dma.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. * Freescale MXS DMA
  2. Required properties:
  3. - compatible : Should be "fsl,<chip>-dma-apbh" or "fsl,<chip>-dma-apbx"
  4. - reg : Should contain registers location and length
  5. - interrupts : Should contain the interrupt numbers of DMA channels.
  6. If 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 controller
  9. Optional properties:
  10. - interrupt-names : Name of DMA channel interrupts
  11. Supported chips:
  12. imx23, imx28.
  13. Examples:
  14. dma_apbh: dma-apbh@80004000 {
  15. compatible = "fsl,imx28-dma-apbh";
  16. reg = <0x80004000 0x2000>;
  17. interrupts = <82 83 84 85
  18. 88 88 88 88
  19. 88 88 88 88
  20. 87 86 0 0>;
  21. interrupt-names = "ssp0", "ssp1", "ssp2", "ssp3",
  22. "gpmi0", "gmpi1", "gpmi2", "gmpi3",
  23. "gpmi4", "gmpi5", "gpmi6", "gmpi7",
  24. "hsadc", "lcdif", "empty", "empty";
  25. #dma-cells = <1>;
  26. dma-channels = <16>;
  27. };
  28. dma_apbx: dma-apbx@80024000 {
  29. compatible = "fsl,imx28-dma-apbx";
  30. reg = <0x80024000 0x2000>;
  31. interrupts = <78 79 66 0
  32. 80 81 68 69
  33. 70 71 72 73
  34. 74 75 76 77>;
  35. interrupt-names = "auart4-rx", "auart4-tx", "spdif-tx", "empty",
  36. "saif0", "saif1", "i2c0", "i2c1",
  37. "auart0-rx", "auart0-tx", "auart1-rx", "auart1-tx",
  38. "auart2-rx", "auart2-tx", "auart3-rx", "auart3-tx";
  39. #dma-cells = <1>;
  40. dma-channels = <16>;
  41. };
  42. DMA clients connected to the MXS DMA controller must use the format
  43. described in the dma.txt file.
  44. Examples:
  45. auart0: serial@8006a000 {
  46. compatible = "fsl,imx28-auart", "fsl,imx23-auart";
  47. reg = <0x8006a000 0x2000>;
  48. interrupts = <112>;
  49. dmas = <&dma_apbx 8>, <&dma_apbx 9>;
  50. dma-names = "rx", "tx";
  51. };