fsl-imx-sdma.txt 1.6 KB

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