xref: /openbmc/linux/arch/sh/include/cpu-sh3/cpu/dma.h (revision feac8c8b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_CPU_SH3_DMA_H
3 #define __ASM_CPU_SH3_DMA_H
4 
5 #include <linux/sh_intc.h>
6 
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
14 #endif
15 
16 #define DMTE0_IRQ	evt2irq(0x800)
17 #define DMTE4_IRQ	evt2irq(0xb80)
18 
19 #endif /* __ASM_CPU_SH3_DMA_H */
20