dma.h 599 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef __ASM_CPU_SH4_DMA_H
  2. #define __ASM_CPU_SH4_DMA_H
  3. /* SH7751/7760/7780 DMA IRQ sources */
  4. #ifdef CONFIG_CPU_SH4A
  5. #include <cpu/dma-sh4a.h>
  6. #else /* CONFIG_CPU_SH4A */
  7. /*
  8. * SH7750/SH7751/SH7760
  9. */
  10. #define DMTE0_IRQ 34
  11. #define DMTE4_IRQ 44
  12. #define DMTE6_IRQ 46
  13. #define DMAE0_IRQ 38
  14. #define SH_DMAC_BASE0 0xffa00000
  15. #define SH_DMAC_BASE1 0xffa00070
  16. /* Definitions for the SuperH DMAC */
  17. #define TM_BURST 0x00000080
  18. #define TS_8 0x00000010
  19. #define TS_16 0x00000020
  20. #define TS_32 0x00000030
  21. #define TS_64 0x00000000
  22. #define DMAOR_COD 0x00000008
  23. #endif
  24. #endif /* __ASM_CPU_SH4_DMA_H */