fsl-imx-sdma.txt 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. * Freescale Smart Direct Memory Access (SDMA) Controller for i.MX
  2. Required properties:
  3. - compatible : Should be "fsl,imx31-sdma", "fsl,imx31-to1-sdma",
  4. "fsl,imx31-to2-sdma", "fsl,imx35-sdma", "fsl,imx35-to1-sdma",
  5. "fsl,imx35-to2-sdma", "fsl,imx51-sdma", "fsl,imx53-sdma" or
  6. "fsl,imx6q-sdma". The -to variants should be preferred since they
  7. allow to determnine the correct ROM script addresses needed for
  8. the driver to work without additional firmware.
  9. - reg : Should contain SDMA registers location and length
  10. - interrupts : Should contain SDMA interrupt
  11. - #dma-cells : Must be <3>.
  12. The first cell specifies the DMA request/event ID. See details below
  13. about the second and third cell.
  14. - fsl,sdma-ram-script-name : Should contain the full path of SDMA RAM
  15. scripts firmware
  16. The second cell of dma phandle specifies the peripheral type of DMA transfer.
  17. The full ID of peripheral types can be found below.
  18. ID transfer type
  19. ---------------------
  20. 0 MCU domain SSI
  21. 1 Shared SSI
  22. 2 MMC
  23. 3 SDHC
  24. 4 MCU domain UART
  25. 5 Shared UART
  26. 6 FIRI
  27. 7 MCU domain CSPI
  28. 8 Shared CSPI
  29. 9 SIM
  30. 10 ATA
  31. 11 CCM
  32. 12 External peripheral
  33. 13 Memory Stick Host Controller
  34. 14 Shared Memory Stick Host Controller
  35. 15 DSP
  36. 16 Memory
  37. 17 FIFO type Memory
  38. 18 SPDIF
  39. 19 IPU Memory
  40. 20 ASRC
  41. 21 ESAI
  42. The third cell specifies the transfer priority as below.
  43. ID transfer priority
  44. -------------------------
  45. 0 High
  46. 1 Medium
  47. 2 Low
  48. Examples:
  49. sdma@83fb0000 {
  50. compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
  51. reg = <0x83fb0000 0x4000>;
  52. interrupts = <6>;
  53. #dma-cells = <3>;
  54. fsl,sdma-ram-script-name = "sdma-imx51.bin";
  55. };
  56. DMA clients connected to the i.MX SDMA controller must use the format
  57. described in the dma.txt file.
  58. Examples:
  59. ssi2: ssi@70014000 {
  60. compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
  61. reg = <0x70014000 0x4000>;
  62. interrupts = <30>;
  63. clocks = <&clks 49>;
  64. dmas = <&sdma 24 1 0>,
  65. <&sdma 25 1 0>;
  66. dma-names = "rx", "tx";
  67. fsl,fifo-depth = <15>;
  68. };