Merge tag 'locking-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / sh / include / cpu-sh3 / cpu / dma.h
blobcd139681af4b6f9ab13ee3c0c977f3ea9017135a
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
14 #endif
16 #define DMTE0_IRQ evt2irq(0x800)
17 #define DMTE4_IRQ evt2irq(0xb80)
19 #endif /* __ASM_CPU_SH3_DMA_H */