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