mmp-dma.txt 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. * MARVELL MMP DMA controller
  2. Marvell Peripheral DMA Controller
  3. Used platforms: pxa688, pxa910, pxa3xx, etc
  4. Required properties:
  5. - compatible: Should be "marvell,pdma-1.0"
  6. - reg: Should contain DMA registers location and length.
  7. - interrupts: Either contain all of the per-channel DMA interrupts
  8. or one irq for pdma device
  9. Optional properties:
  10. - #dma-channels: Number of DMA channels supported by the controller (defaults
  11. to 32 when not specified)
  12. - #dma-requests: Number of DMA requestor lines supported by the controller
  13. (defaults to 32 when not specified)
  14. "marvell,pdma-1.0"
  15. Used platforms: pxa25x, pxa27x, pxa3xx, pxa93x, pxa168, pxa910, pxa688.
  16. Examples:
  17. /*
  18. * Each channel has specific irq
  19. * ICU parse out irq channel from ICU register,
  20. * while DMA controller may not able to distinguish the irq channel
  21. * Using this method, interrupt-parent is required as demuxer
  22. * For example, pxa688 icu register 0x128, bit 0~15 is PDMA channel irq,
  23. * 18~21 is ADMA irq
  24. */
  25. pdma: dma-controller@d4000000 {
  26. compatible = "marvell,pdma-1.0";
  27. reg = <0xd4000000 0x10000>;
  28. interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15>;
  29. interrupt-parent = <&intcmux32>;
  30. #dma-channels = <16>;
  31. };
  32. /*
  33. * One irq for all channels
  34. * Dmaengine driver (DMA controller) distinguish irq channel via
  35. * parsing internal register
  36. */
  37. pdma: dma-controller@d4000000 {
  38. compatible = "marvell,pdma-1.0";
  39. reg = <0xd4000000 0x10000>;
  40. interrupts = <47>;
  41. #dma-channels = <16>;
  42. };
  43. Marvell Two Channel DMA Controller used specifically for audio
  44. Used platforms: pxa688, pxa910
  45. Required properties:
  46. - compatible: Should be "marvell,adma-1.0" or "marvell,pxa910-squ"
  47. - reg: Should contain DMA registers location and length.
  48. - interrupts: Either contain all of the per-channel DMA interrupts
  49. or one irq for dma device
  50. "marvell,adma-1.0" used on pxa688
  51. "marvell,pxa910-squ" used on pxa910
  52. Examples:
  53. /* each channel has specific irq */
  54. adma0: dma-controller@d42a0800 {
  55. compatible = "marvell,adma-1.0";
  56. reg = <0xd42a0800 0x100>;
  57. interrupts = <18 19>;
  58. interrupt-parent = <&intcmux32>;
  59. };
  60. /* One irq for all channels */
  61. squ: dma-controller@d42a0800 {
  62. compatible = "marvell,pxa910-squ";
  63. reg = <0xd42a0800 0x100>;
  64. interrupts = <46>;
  65. };