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