kogiidena | 94c0fa5 | 2006-09-27 14:53:35 +0900 | [diff] [blame] | 1 | #ifndef __ASM_SH_IODATA_LANDISK_H |
| 2 | #define __ASM_SH_IODATA_LANDISK_H |
| 3 | |
| 4 | /* |
Nobuhiro Iwamatsu | 418f219 | 2011-01-07 03:02:13 +0000 | [diff] [blame] | 5 | * arch/sh/include/mach-landisk/mach/iodata_landisk.h |
kogiidena | 94c0fa5 | 2006-09-27 14:53:35 +0900 | [diff] [blame] | 6 | * |
| 7 | * Copyright (C) 2000 Atom Create Engineering Co., Ltd. |
| 8 | * |
| 9 | * IO-DATA LANDISK support |
| 10 | */ |
Paul Mundt | ce932d0 | 2012-05-18 16:51:36 +0900 | [diff] [blame] | 11 | #include <linux/sh_intc.h> |
kogiidena | 94c0fa5 | 2006-09-27 14:53:35 +0900 | [diff] [blame] | 12 | |
| 13 | /* Box specific addresses. */ |
| 14 | |
| 15 | #define PA_USB 0xa4000000 /* USB Controller M66590 */ |
| 16 | |
| 17 | #define PA_ATARST 0xb0000000 /* ATA/FATA Access Control Register */ |
| 18 | #define PA_LED 0xb0000001 /* LED Control Register */ |
| 19 | #define PA_STATUS 0xb0000002 /* Switch Status Register */ |
| 20 | #define PA_SHUTDOWN 0xb0000003 /* Shutdown Control Register */ |
| 21 | #define PA_PCIPME 0xb0000004 /* PCI PME Status Register */ |
| 22 | #define PA_IMASK 0xb0000005 /* Interrupt Mask Register */ |
| 23 | /* 2003.10.31 I-O DATA NSD NWG add. for shutdown port clear */ |
| 24 | #define PA_PWRINT_CLR 0xb0000006 /* Shutdown Interrupt clear Register */ |
| 25 | |
kogiidena | 94c0fa5 | 2006-09-27 14:53:35 +0900 | [diff] [blame] | 26 | #define PA_PIDE_OFFSET 0x40 /* CF IDE Offset */ |
| 27 | #define PA_SIDE_OFFSET 0x40 /* HDD IDE Offset */ |
| 28 | |
Paul Mundt | ce932d0 | 2012-05-18 16:51:36 +0900 | [diff] [blame] | 29 | #define IRQ_PCIINTA evt2irq(0x2a0) /* PCI INTA IRQ */ |
| 30 | #define IRQ_PCIINTB evt2irq(0x2c0) /* PCI INTB IRQ */ |
| 31 | #define IRQ_PCIINTC evt2irq(0x2e0) /* PCI INTC IRQ */ |
| 32 | #define IRQ_PCIINTD evt2irq(0x300) /* PCI INTD IRQ */ |
| 33 | #define IRQ_ATA evt2irq(0x320) /* ATA IRQ */ |
| 34 | #define IRQ_FATA evt2irq(0x340) /* FATA IRQ */ |
| 35 | #define IRQ_POWER evt2irq(0x360) /* Power Switch IRQ */ |
| 36 | #define IRQ_BUTTON evt2irq(0x380) /* USL-5P Button IRQ */ |
| 37 | #define IRQ_FAULT evt2irq(0x3a0) /* USL-5P Fault IRQ */ |
kogiidena | 94c0fa5 | 2006-09-27 14:53:35 +0900 | [diff] [blame] | 38 | |
Nobuhiro Iwamatsu | 418f219 | 2011-01-07 03:02:13 +0000 | [diff] [blame] | 39 | void init_landisk_IRQ(void); |
| 40 | |
Paul Mundt | d7cdc9e | 2006-09-27 15:16:42 +0900 | [diff] [blame] | 41 | #define __IO_PREFIX landisk |
| 42 | #include <asm/io_generic.h> |
| 43 | |
kogiidena | 94c0fa5 | 2006-09-27 14:53:35 +0900 | [diff] [blame] | 44 | #endif /* __ASM_SH_IODATA_LANDISK_H */ |
| 45 | |