WIP FPC-III support
[linux/fpc-iii.git] / arch / sh / include / mach-dreamcast / mach / dma.h
bloba773a763843aaa3378e5768e6d3bef36135dd4ad
1 /* SPDX-License-Identifier: GPL-2.0
3 * include/asm-sh/dreamcast/dma.h
5 * Copyright (C) 2003 Paul Mundt
6 */
7 #ifndef __ASM_SH_DREAMCAST_DMA_H
8 #define __ASM_SH_DREAMCAST_DMA_H
10 /* Number of DMA channels */
11 #define G2_NR_DMA_CHANNELS 4
13 /* Channels for cascading */
14 #define PVR2_CASCADE_CHAN 2
15 #define G2_CASCADE_CHAN 3
17 /* PVR2 DMA Registers */
18 #define PVR2_DMA_BASE 0xa05f6800
19 #define PVR2_DMA_ADDR (PVR2_DMA_BASE + 0)
20 #define PVR2_DMA_COUNT (PVR2_DMA_BASE + 4)
21 #define PVR2_DMA_MODE (PVR2_DMA_BASE + 8)
22 #define PVR2_DMA_LMMODE0 (PVR2_DMA_BASE + 132)
23 #define PVR2_DMA_LMMODE1 (PVR2_DMA_BASE + 136)
25 /* G2 DMA Register */
26 #define G2_DMA_BASE 0xa05f7800
28 #endif /* __ASM_SH_DREAMCAST_DMA_H */