1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2f15cbe6fSPaul Mundt #ifndef __ASM_SH_IODATA_LANDISK_H
3f15cbe6fSPaul Mundt #define __ASM_SH_IODATA_LANDISK_H
4f15cbe6fSPaul Mundt 
5f15cbe6fSPaul Mundt /*
6418f219cSNobuhiro Iwamatsu  * arch/sh/include/mach-landisk/mach/iodata_landisk.h
7f15cbe6fSPaul Mundt  *
8f15cbe6fSPaul Mundt  * Copyright (C) 2000  Atom Create Engineering Co., Ltd.
9f15cbe6fSPaul Mundt  *
10f15cbe6fSPaul Mundt  * IO-DATA LANDISK support
11f15cbe6fSPaul Mundt  */
12ce932d0cSPaul Mundt #include <linux/sh_intc.h>
13f15cbe6fSPaul Mundt 
14f15cbe6fSPaul Mundt /* Box specific addresses.  */
15f15cbe6fSPaul Mundt 
16f15cbe6fSPaul Mundt #define PA_USB		0xa4000000	/* USB Controller M66590 */
17f15cbe6fSPaul Mundt 
18f15cbe6fSPaul Mundt #define PA_ATARST	0xb0000000	/* ATA/FATA Access Control Register */
19f15cbe6fSPaul Mundt #define PA_LED		0xb0000001	/* LED Control Register */
20f15cbe6fSPaul Mundt #define PA_STATUS	0xb0000002	/* Switch Status Register */
21f15cbe6fSPaul Mundt #define PA_SHUTDOWN	0xb0000003	/* Shutdown Control Register */
22f15cbe6fSPaul Mundt #define PA_PCIPME	0xb0000004	/* PCI PME Status Register */
23f15cbe6fSPaul Mundt #define PA_IMASK	0xb0000005	/* Interrupt Mask Register */
24f15cbe6fSPaul Mundt /* 2003.10.31 I-O DATA NSD NWG	add.	for shutdown port clear */
25f15cbe6fSPaul Mundt #define PA_PWRINT_CLR	0xb0000006	/* Shutdown Interrupt clear Register */
26f15cbe6fSPaul Mundt 
27f15cbe6fSPaul Mundt #define PA_PIDE_OFFSET	0x40		/* CF IDE Offset */
28f15cbe6fSPaul Mundt #define PA_SIDE_OFFSET	0x40		/* HDD IDE Offset */
29f15cbe6fSPaul Mundt 
30ce932d0cSPaul Mundt #define IRQ_PCIINTA	evt2irq(0x2a0)	/* PCI INTA IRQ */
31ce932d0cSPaul Mundt #define IRQ_PCIINTB	evt2irq(0x2c0)	/* PCI INTB IRQ */
32ce932d0cSPaul Mundt #define IRQ_PCIINTC	evt2irq(0x2e0)	/* PCI INTC IRQ */
33ce932d0cSPaul Mundt #define IRQ_PCIINTD	evt2irq(0x300)	/* PCI INTD IRQ */
34ce932d0cSPaul Mundt #define IRQ_ATA		evt2irq(0x320)	/* ATA IRQ */
35ce932d0cSPaul Mundt #define IRQ_FATA	evt2irq(0x340)	/* FATA IRQ */
36ce932d0cSPaul Mundt #define IRQ_POWER	evt2irq(0x360)	/* Power Switch IRQ */
37ce932d0cSPaul Mundt #define IRQ_BUTTON	evt2irq(0x380)	/* USL-5P Button IRQ */
38ce932d0cSPaul Mundt #define IRQ_FAULT	evt2irq(0x3a0)	/* USL-5P Fault  IRQ */
39f15cbe6fSPaul Mundt 
40418f219cSNobuhiro Iwamatsu void init_landisk_IRQ(void);
41418f219cSNobuhiro Iwamatsu 
42f15cbe6fSPaul Mundt #define __IO_PREFIX landisk
43f15cbe6fSPaul Mundt #include <asm/io_generic.h>
44f15cbe6fSPaul Mundt 
45f15cbe6fSPaul Mundt #endif  /* __ASM_SH_IODATA_LANDISK_H */
46f15cbe6fSPaul Mundt 
47