Merge branch 'for-3.5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...
[firefly-linux-kernel-4.4.55.git] / arch / sh / include / cpu-sh3 / cpu / dma.h
1 #ifndef __ASM_CPU_SH3_DMA_H
2 #define __ASM_CPU_SH3_DMA_H
3
4 #include <linux/sh_intc.h>
5
6 #if defined(CONFIG_CPU_SUBTYPE_SH7720) || \
7     defined(CONFIG_CPU_SUBTYPE_SH7721) || \
8     defined(CONFIG_CPU_SUBTYPE_SH7710) || \
9     defined(CONFIG_CPU_SUBTYPE_SH7712)
10 #define SH_DMAC_BASE0   0xa4010020
11 #else /* SH7705/06/07/09 */
12 #define SH_DMAC_BASE0   0xa4000020
13 #endif
14
15 #define DMTE0_IRQ       evt2irq(0x800)
16 #define DMTE4_IRQ       evt2irq(0xb80)
17
18 #endif /* __ASM_CPU_SH3_DMA_H */