Path: blob/master/arch/unicore32/include/asm/irq.h
10818 views
/*1* linux/arch/unicore32/include/asm/irq.h2*3* Code specific to PKUnity SoC and UniCore ISA4*5* Copyright (C) 2001-2010 GUAN Xue-tao6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License version 2 as9* published by the Free Software Foundation.10*/11#ifndef __UNICORE_IRQ_H__12#define __UNICORE_IRQ_H__1314#include <asm-generic/irq.h>1516#define IRQ_GPIOLOW0 0x0017#define IRQ_GPIOLOW1 0x0118#define IRQ_GPIOLOW2 0x0219#define IRQ_GPIOLOW3 0x0320#define IRQ_GPIOLOW4 0x0421#define IRQ_GPIOLOW5 0x0522#define IRQ_GPIOLOW6 0x0623#define IRQ_GPIOLOW7 0x0724#define IRQ_GPIOHIGH 0x0825#define IRQ_USB 0x0926#define IRQ_SDC 0x0a27#define IRQ_AC97 0x0b28#define IRQ_SATA 0x0c29#define IRQ_MME 0x0d30#define IRQ_PCI_BRIDGE 0x0e31#define IRQ_DDR 0x0f32#define IRQ_SPI 0x1033#define IRQ_UNIGFX 0x1134#define IRQ_I2C 0x1135#define IRQ_UART1 0x1236#define IRQ_UART0 0x1337#define IRQ_UMAL 0x1438#define IRQ_NAND 0x1539#define IRQ_PS2_KBD 0x1640#define IRQ_PS2_AUX 0x1741#define IRQ_DMA 0x1842#define IRQ_DMAERR 0x1943#define IRQ_TIMER0 0x1a44#define IRQ_TIMER1 0x1b45#define IRQ_TIMER2 0x1c46#define IRQ_TIMER3 0x1d47#define IRQ_RTC 0x1e48#define IRQ_RTCAlarm 0x1f4950#define IRQ_GPIO0 0x2051#define IRQ_GPIO1 0x2152#define IRQ_GPIO2 0x2253#define IRQ_GPIO3 0x2354#define IRQ_GPIO4 0x2455#define IRQ_GPIO5 0x2556#define IRQ_GPIO6 0x2657#define IRQ_GPIO7 0x2758#define IRQ_GPIO8 0x2859#define IRQ_GPIO9 0x2960#define IRQ_GPIO10 0x2a61#define IRQ_GPIO11 0x2b62#define IRQ_GPIO12 0x2c63#define IRQ_GPIO13 0x2d64#define IRQ_GPIO14 0x2e65#define IRQ_GPIO15 0x2f66#define IRQ_GPIO16 0x3067#define IRQ_GPIO17 0x3168#define IRQ_GPIO18 0x3269#define IRQ_GPIO19 0x3370#define IRQ_GPIO20 0x3471#define IRQ_GPIO21 0x3572#define IRQ_GPIO22 0x3673#define IRQ_GPIO23 0x3774#define IRQ_GPIO24 0x3875#define IRQ_GPIO25 0x3976#define IRQ_GPIO26 0x3a77#define IRQ_GPIO27 0x3b7879#ifdef CONFIG_ARCH_FPGA80#define IRQ_PCIINTA IRQ_GPIOLOW281#define IRQ_PCIINTB IRQ_GPIOLOW182#define IRQ_PCIINTC IRQ_GPIOLOW083#define IRQ_PCIINTD IRQ_GPIOLOW684#endif8586#if defined(CONFIG_PUV3_DB0913) || defined(CONFIG_PUV3_NB0916) \87|| defined(CONFIG_PUV3_SMW0919)88#define IRQ_PCIINTA IRQ_GPIOLOW189#define IRQ_PCIINTB IRQ_GPIOLOW290#define IRQ_PCIINTC IRQ_GPIOLOW391#define IRQ_PCIINTD IRQ_GPIOLOW492#endif9394#define IRQ_SD_CD IRQ_GPIO6 /* falling or rising trigger */9596#ifndef __ASSEMBLY__97struct pt_regs;9899extern void asm_do_IRQ(unsigned int, struct pt_regs *);100101#endif102103#endif104105106107