xref: /openbmc/linux/arch/sh/include/cpu-sh3/cpu/dma.h (revision b2441318)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2f15cbe6fSPaul Mundt #ifndef __ASM_CPU_SH3_DMA_H
3f15cbe6fSPaul Mundt #define __ASM_CPU_SH3_DMA_H
4f15cbe6fSPaul Mundt 
59f380456SPaul Mundt #include <linux/sh_intc.h>
69f380456SPaul Mundt 
7f15cbe6fSPaul Mundt #if defined(CONFIG_CPU_SUBTYPE_SH7720) || \
871b973a4SNobuhiro Iwamatsu     defined(CONFIG_CPU_SUBTYPE_SH7721) || \
971b973a4SNobuhiro Iwamatsu     defined(CONFIG_CPU_SUBTYPE_SH7710) || \
1071b973a4SNobuhiro Iwamatsu     defined(CONFIG_CPU_SUBTYPE_SH7712)
1171b973a4SNobuhiro Iwamatsu #define SH_DMAC_BASE0	0xa4010020
1271b973a4SNobuhiro Iwamatsu #else /* SH7705/06/07/09 */
1371b973a4SNobuhiro Iwamatsu #define SH_DMAC_BASE0	0xa4000020
14f15cbe6fSPaul Mundt #endif
15f15cbe6fSPaul Mundt 
169f380456SPaul Mundt #define DMTE0_IRQ	evt2irq(0x800)
179f380456SPaul Mundt #define DMTE4_IRQ	evt2irq(0xb80)
18f15cbe6fSPaul Mundt 
19f15cbe6fSPaul Mundt #endif /* __ASM_CPU_SH3_DMA_H */
20