18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci *
38c2ecf20Sopenharmony_ci * include/asm-sh/dreamcast/pci.h
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (C) 2001, 2002  M. R. Brown
68c2ecf20Sopenharmony_ci * Copyright (C) 2002, 2003  Paul Mundt
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci#ifndef __ASM_SH_DREAMCAST_PCI_H
98c2ecf20Sopenharmony_ci#define __ASM_SH_DREAMCAST_PCI_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#include <mach-dreamcast/mach/sysasic.h>
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#define	GAPSPCI_REGS		0x01001400
148c2ecf20Sopenharmony_ci#define GAPSPCI_DMA_BASE	0x01840000
158c2ecf20Sopenharmony_ci#define GAPSPCI_DMA_SIZE	32768
168c2ecf20Sopenharmony_ci#define GAPSPCI_BBA_CONFIG	0x01001600
178c2ecf20Sopenharmony_ci#define GAPSPCI_BBA_CONFIG_SIZE	0x2000
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#define	GAPSPCI_IRQ		HW_EVENT_EXTERNAL
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciextern struct pci_ops gapspci_pci_ops;
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci#endif /* __ASM_SH_DREAMCAST_PCI_H */
248c2ecf20Sopenharmony_ci
25