2005-04-17 06:20:36 +08:00
|
|
|
#ifndef __ASM_CPU_SH4_DMA_H
|
|
|
|
#define __ASM_CPU_SH4_DMA_H
|
|
|
|
|
2007-01-25 14:22:11 +08:00
|
|
|
/* SH7751/7760/7780 DMA IRQ sources */
|
|
|
|
|
2006-01-17 14:14:09 +08:00
|
|
|
#ifdef CONFIG_CPU_SH4A
|
2006-09-27 14:59:17 +08:00
|
|
|
|
2009-03-10 16:26:49 +08:00
|
|
|
#include <cpu/dma-sh4a.h>
|
2010-02-12 00:50:14 +08:00
|
|
|
|
2009-03-10 16:26:49 +08:00
|
|
|
#else /* CONFIG_CPU_SH4A */
|
|
|
|
/*
|
|
|
|
* SH7750/SH7751/SH7760
|
|
|
|
*/
|
|
|
|
#define DMTE0_IRQ 34
|
|
|
|
#define DMTE4_IRQ 44
|
|
|
|
#define DMTE6_IRQ 46
|
|
|
|
#define DMAE0_IRQ 38
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2009-03-10 16:26:49 +08:00
|
|
|
#define SH_DMAC_BASE0 0xffa00000
|
|
|
|
#define SH_DMAC_BASE1 0xffa00070
|
2006-01-17 14:14:09 +08:00
|
|
|
/* Definitions for the SuperH DMAC */
|
2009-03-10 16:26:49 +08:00
|
|
|
#define TM_BURST 0x00000080
|
2006-01-17 14:14:09 +08:00
|
|
|
#define TS_8 0x00000010
|
|
|
|
#define TS_16 0x00000020
|
|
|
|
#define TS_32 0x00000030
|
|
|
|
#define TS_64 0x00000000
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2006-01-17 14:14:09 +08:00
|
|
|
#define DMAOR_COD 0x00000008
|
|
|
|
|
2006-09-27 14:59:17 +08:00
|
|
|
#endif
|
2006-01-17 14:14:09 +08:00
|
|
|
|
|
|
|
#endif /* __ASM_CPU_SH4_DMA_H */
|