diff options
author | Roman Yeryomin <roman@advem.lv> | 2012-09-13 00:40:35 +0300 |
---|---|---|
committer | Roman Yeryomin <roman@advem.lv> | 2012-12-03 00:13:21 +0200 |
commit | 5deb3317cb51ac52de922bb55f8492624018906d (patch) | |
tree | c2fbe6346699d9bb0f2100490c3029519bb8fde8 /target/linux/realtek/files/include/asm-mips/rtl865x/interrupt.h | |
parent | 0239d37124f9184b478a42de8a7fa1bc85a6a6fe (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 |