Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef __ASM_CPU_SH4_DMA_H |
| 3 | #define __ASM_CPU_SH4_DMA_H |
| 4 | |
Paul Mundt | 9f38045 | 2012-05-18 17:27:28 +0900 | [diff] [blame] | 5 | #include <linux/sh_intc.h> |
| 6 | |
Nobuhiro Iwamatsu | 71b973a | 2009-03-10 17:26:49 +0900 | [diff] [blame] | 7 | /* |
| 8 | * SH7750/SH7751/SH7760 |
| 9 | */ |
Paul Mundt | 9f38045 | 2012-05-18 17:27:28 +0900 | [diff] [blame] | 10 | #define DMTE0_IRQ evt2irq(0x640) |
| 11 | #define DMTE4_IRQ evt2irq(0x780) |
| 12 | #define DMTE6_IRQ evt2irq(0x7c0) |
| 13 | #define DMAE0_IRQ evt2irq(0x6c0) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | |
Nobuhiro Iwamatsu | 71b973a | 2009-03-10 17:26:49 +0900 | [diff] [blame] | 15 | #define SH_DMAC_BASE0 0xffa00000 |
| 16 | #define SH_DMAC_BASE1 0xffa00070 |
Paul Mundt | 0c60123 | 2012-05-19 18:06:12 +0900 | [diff] [blame] | 17 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | #endif /* __ASM_CPU_SH4_DMA_H */ |