dma.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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_MCBSP1_TX 8
  23. #define OMAP_DMA_MCBSP1_RX 9
  24. #define OMAP_DMA_MCBSP3_TX 10
  25. #define OMAP_DMA_MCBSP3_RX 11
  26. #define OMAP_DMA_MCBSP2_TX 16
  27. #define OMAP_DMA_MCBSP2_RX 17
  28. #define OMAP_DMA_UART3_TX 18
  29. #define OMAP_DMA_UART3_RX 19
  30. #define OMAP_DMA_CAMERA_IF_RX 20
  31. #define OMAP_DMA_MMC_TX 21
  32. #define OMAP_DMA_MMC_RX 22
  33. #define OMAP_DMA_USB_W2FC_RX0 26
  34. #define OMAP_DMA_USB_W2FC_TX0 29
  35. /* These are only for 1610 */
  36. #define OMAP_DMA_MMC2_TX 54
  37. #define OMAP_DMA_MMC2_RX 55
  38. #endif /* __OMAP1_DMA_CHANNEL_H */