]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4 LT |
2 | #ifndef __ASM_CPU_SH3_DMA_H |
3 | #define __ASM_CPU_SH3_DMA_H | |
4 | ||
9f380456 PM |
5 | #include <linux/sh_intc.h> |
6 | ||
31a49c4b | 7 | #if defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
71b973a4 NI |
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 | |
cdf7da89 | 14 | #endif |
3ea6bc3d | 15 | |
9f380456 PM |
16 | #define DMTE0_IRQ evt2irq(0x800) |
17 | #define DMTE4_IRQ evt2irq(0xb80) | |
1da177e4 | 18 | |
0d831770 | 19 | #endif /* __ASM_CPU_SH3_DMA_H */ |