dma.h 497 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_CPU_SH3_DMA_H
  3. #define __ASM_CPU_SH3_DMA_H
  4. #include <linux/sh_intc.h>
  5. #if defined(CONFIG_CPU_SUBTYPE_SH7720) || \
  6. defined(CONFIG_CPU_SUBTYPE_SH7721) || \
  7. defined(CONFIG_CPU_SUBTYPE_SH7710) || \
  8. defined(CONFIG_CPU_SUBTYPE_SH7712)
  9. #define SH_DMAC_BASE0 0xa4010020
  10. #else /* SH7705/06/07/09 */
  11. #define SH_DMAC_BASE0 0xa4000020
  12. #endif
  13. #define DMTE0_IRQ evt2irq(0x800)
  14. #define DMTE4_IRQ evt2irq(0xb80)
  15. #endif /* __ASM_CPU_SH3_DMA_H */