diff options
| author | Roman Yeryomin <roman@advem.lv> | 2012-09-13 00:40:35 +0300 |
|---|---|---|
| committer | Roman Yeryomin <roman@advem.lv> | 2013-05-26 00:44:46 +0300 |
| commit | a27354c9021a8423ef8c7d2bffad49cbf639eec1 (patch) | |
| tree | 2355929a4b8cf1888cd0797cfabdb42e0077c524 /target/linux/realtek/files/include/asm-mips/rtl865x/interrupt.h | |
| parent | 24a776baeb5d3cd903b144c89ceb11c5bc36a49e (diff) | |
Add realtek target files
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/files/include/asm-mips/rtl865x/interrupt.h')
| -rw-r--r-- | target/linux/realtek/files/include/asm-mips/rtl865x/interrupt.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/target/linux/realtek/files/include/asm-mips/rtl865x/interrupt.h b/target/linux/realtek/files/include/asm-mips/rtl865x/interrupt.h new file mode 100644 index 000000000..904035889 --- /dev/null +++ b/target/linux/realtek/files/include/asm-mips/rtl865x/interrupt.h @@ -0,0 +1,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 |
