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