dma.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /*
  2. * OMAP1 DMA channel definitions
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program; if not, write to the Free Software
  16. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  17. */
  18. #ifndef __OMAP1_DMA_CHANNEL_H
  19. #define __OMAP1_DMA_CHANNEL_H
  20. /* DMA channels for omap1 */
  21. #define OMAP_DMA_NO_DEVICE 0
  22. #define OMAP_DMA_MCSI1_TX 1
  23. #define OMAP_DMA_MCSI1_RX 2
  24. #define OMAP_DMA_I2C_RX 3
  25. #define OMAP_DMA_I2C_TX 4
  26. #define OMAP_DMA_EXT_NDMA_REQ 5
  27. #define OMAP_DMA_EXT_NDMA_REQ2 6
  28. #define OMAP_DMA_UWIRE_TX 7
  29. #define OMAP_DMA_MCBSP1_TX 8
  30. #define OMAP_DMA_MCBSP1_RX 9
  31. #define OMAP_DMA_MCBSP3_TX 10
  32. #define OMAP_DMA_MCBSP3_RX 11
  33. #define OMAP_DMA_UART1_TX 12
  34. #define OMAP_DMA_UART1_RX 13
  35. #define OMAP_DMA_UART2_TX 14
  36. #define OMAP_DMA_UART2_RX 15
  37. #define OMAP_DMA_MCBSP2_TX 16
  38. #define OMAP_DMA_MCBSP2_RX 17
  39. #define OMAP_DMA_UART3_TX 18
  40. #define OMAP_DMA_UART3_RX 19
  41. #define OMAP_DMA_CAMERA_IF_RX 20
  42. #define OMAP_DMA_MMC_TX 21
  43. #define OMAP_DMA_MMC_RX 22
  44. #define OMAP_DMA_NAND 23
  45. #define OMAP_DMA_IRQ_LCD_LINE 24
  46. #define OMAP_DMA_MEMORY_STICK 25
  47. #define OMAP_DMA_USB_W2FC_RX0 26
  48. #define OMAP_DMA_USB_W2FC_RX1 27
  49. #define OMAP_DMA_USB_W2FC_RX2 28
  50. #define OMAP_DMA_USB_W2FC_TX0 29
  51. #define OMAP_DMA_USB_W2FC_TX1 30
  52. #define OMAP_DMA_USB_W2FC_TX2 31
  53. /* These are only for 1610 */
  54. #define OMAP_DMA_CRYPTO_DES_IN 32
  55. #define OMAP_DMA_SPI_TX 33
  56. #define OMAP_DMA_SPI_RX 34
  57. #define OMAP_DMA_CRYPTO_HASH 35
  58. #define OMAP_DMA_CCP_ATTN 36
  59. #define OMAP_DMA_CCP_FIFO_NOT_EMPTY 37
  60. #define OMAP_DMA_CMT_APE_TX_CHAN_0 38
  61. #define OMAP_DMA_CMT_APE_RV_CHAN_0 39
  62. #define OMAP_DMA_CMT_APE_TX_CHAN_1 40
  63. #define OMAP_DMA_CMT_APE_RV_CHAN_1 41
  64. #define OMAP_DMA_CMT_APE_TX_CHAN_2 42
  65. #define OMAP_DMA_CMT_APE_RV_CHAN_2 43
  66. #define OMAP_DMA_CMT_APE_TX_CHAN_3 44
  67. #define OMAP_DMA_CMT_APE_RV_CHAN_3 45
  68. #define OMAP_DMA_CMT_APE_TX_CHAN_4 46
  69. #define OMAP_DMA_CMT_APE_RV_CHAN_4 47
  70. #define OMAP_DMA_CMT_APE_TX_CHAN_5 48
  71. #define OMAP_DMA_CMT_APE_RV_CHAN_5 49
  72. #define OMAP_DMA_CMT_APE_TX_CHAN_6 50
  73. #define OMAP_DMA_CMT_APE_RV_CHAN_6 51
  74. #define OMAP_DMA_CMT_APE_TX_CHAN_7 52
  75. #define OMAP_DMA_CMT_APE_RV_CHAN_7 53
  76. #define OMAP_DMA_MMC2_TX 54
  77. #define OMAP_DMA_MMC2_RX 55
  78. #define OMAP_DMA_CRYPTO_DES_OUT 56
  79. #endif /* __OMAP1_DMA_CHANNEL_H */