summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/include/asm-mips/rtl865x/interrupt.h
blob: 904035889184b06f3391160268a79a68ee7ed085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include <linux/autoconf.h>

#ifdef CONFIG_RTL865XC

#define CPU_CLOCK_RATE	16000000	/* CPU clock @ 14 MHz */
#define ICU_GPIO	       0
#define ICU_TMR		9
#define ICU_UART0	5
#define ICU_UART1 	4
//#define ICU_PCMCIA 	0
#define ICU_PCI		3
#ifdef CONFIG_DEFAULTS_KERNEL_2_6
#define ICU_NIC		15
#else
#define ICU_NIC		2
#endif
#define ICU_PCM		6
#define ICU_USB		7//	
//#define ICU_EXT		0//
//#define ICU_LBCT		0//

#else

#define CPU_CLOCK_RATE	96000000	/* CPU clock @ 14 MHz */
#define ICU_TMR		0
#define ICU_USB		1	
#define ICU_PCMCIA 	2
#define ICU_UART0	4
#define ICU_UART1 	3	
#define ICU_PCI		5
#define ICU_NIC		6
#define ICU_GPIO	7
#define ICU_EXT		8
#define ICU_LBCT	10
#define ICU_CRYPTO	11
#define ICU_AUTH	12
#define ICU_PCM		13
#define ICU_PDE		14
#define ICU_PCIBTO	15

#endif