xref: /linux/arch/sh/include/mach-landisk/mach/iodata_landisk.h (revision f15cbe6f1a4b4d9df59142fc8e4abb973302cf44)
1*f15cbe6fSPaul Mundt #ifndef __ASM_SH_IODATA_LANDISK_H
2*f15cbe6fSPaul Mundt #define __ASM_SH_IODATA_LANDISK_H
3*f15cbe6fSPaul Mundt 
4*f15cbe6fSPaul Mundt /*
5*f15cbe6fSPaul Mundt  * linux/include/asm-sh/landisk/iodata_landisk.h
6*f15cbe6fSPaul Mundt  *
7*f15cbe6fSPaul Mundt  * Copyright (C) 2000  Atom Create Engineering Co., Ltd.
8*f15cbe6fSPaul Mundt  *
9*f15cbe6fSPaul Mundt  * IO-DATA LANDISK support
10*f15cbe6fSPaul Mundt  */
11*f15cbe6fSPaul Mundt 
12*f15cbe6fSPaul Mundt /* Box specific addresses.  */
13*f15cbe6fSPaul Mundt 
14*f15cbe6fSPaul Mundt #define PA_USB		0xa4000000	/* USB Controller M66590 */
15*f15cbe6fSPaul Mundt 
16*f15cbe6fSPaul Mundt #define PA_ATARST	0xb0000000	/* ATA/FATA Access Control Register */
17*f15cbe6fSPaul Mundt #define PA_LED		0xb0000001	/* LED Control Register */
18*f15cbe6fSPaul Mundt #define PA_STATUS	0xb0000002	/* Switch Status Register */
19*f15cbe6fSPaul Mundt #define PA_SHUTDOWN	0xb0000003	/* Shutdown Control Register */
20*f15cbe6fSPaul Mundt #define PA_PCIPME	0xb0000004	/* PCI PME Status Register */
21*f15cbe6fSPaul Mundt #define PA_IMASK	0xb0000005	/* Interrupt Mask Register */
22*f15cbe6fSPaul Mundt /* 2003.10.31 I-O DATA NSD NWG	add.	for shutdown port clear */
23*f15cbe6fSPaul Mundt #define PA_PWRINT_CLR	0xb0000006	/* Shutdown Interrupt clear Register */
24*f15cbe6fSPaul Mundt 
25*f15cbe6fSPaul Mundt #define PA_PIDE_OFFSET	0x40		/* CF IDE Offset */
26*f15cbe6fSPaul Mundt #define PA_SIDE_OFFSET	0x40		/* HDD IDE Offset */
27*f15cbe6fSPaul Mundt 
28*f15cbe6fSPaul Mundt #define IRQ_PCIINTA	5		/* PCI INTA IRQ */
29*f15cbe6fSPaul Mundt #define IRQ_PCIINTB	6		/* PCI INTB IRQ */
30*f15cbe6fSPaul Mundt #define IRQ_PCIINDC	7		/* PCI INTC IRQ */
31*f15cbe6fSPaul Mundt #define IRQ_PCIINTD	8		/* PCI INTD IRQ */
32*f15cbe6fSPaul Mundt #define IRQ_ATA		9		/* ATA IRQ */
33*f15cbe6fSPaul Mundt #define IRQ_FATA	10		/* FATA IRQ */
34*f15cbe6fSPaul Mundt #define IRQ_POWER	11		/* Power Switch IRQ */
35*f15cbe6fSPaul Mundt #define IRQ_BUTTON	12		/* USL-5P Button IRQ */
36*f15cbe6fSPaul Mundt #define IRQ_FAULT	13		/* USL-5P Fault  IRQ */
37*f15cbe6fSPaul Mundt 
38*f15cbe6fSPaul Mundt #define __IO_PREFIX landisk
39*f15cbe6fSPaul Mundt #include <asm/io_generic.h>
40*f15cbe6fSPaul Mundt 
41*f15cbe6fSPaul Mundt #endif  /* __ASM_SH_IODATA_LANDISK_H */
42*f15cbe6fSPaul Mundt 
43