18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __ASM_CPU_SH3_DMA_H 38c2ecf20Sopenharmony_ci#define __ASM_CPU_SH3_DMA_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <linux/sh_intc.h> 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#if defined(CONFIG_CPU_SUBTYPE_SH7720) || \ 88c2ecf20Sopenharmony_ci defined(CONFIG_CPU_SUBTYPE_SH7721) || \ 98c2ecf20Sopenharmony_ci defined(CONFIG_CPU_SUBTYPE_SH7710) || \ 108c2ecf20Sopenharmony_ci defined(CONFIG_CPU_SUBTYPE_SH7712) 118c2ecf20Sopenharmony_ci#define SH_DMAC_BASE0 0xa4010020 128c2ecf20Sopenharmony_ci#else /* SH7705/06/07/09 */ 138c2ecf20Sopenharmony_ci#define SH_DMAC_BASE0 0xa4000020 148c2ecf20Sopenharmony_ci#endif 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#define DMTE0_IRQ evt2irq(0x800) 178c2ecf20Sopenharmony_ci#define DMTE4_IRQ evt2irq(0xb80) 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci#endif /* __ASM_CPU_SH3_DMA_H */ 20