summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/serial.h')
-rw-r--r--include/asm-mips/serial.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/asm-mips/serial.h b/include/asm-mips/serial.h
index aad63051c..d2057f158 100644
--- a/include/asm-mips/serial.h
+++ b/include/asm-mips/serial.h
@@ -102,6 +102,25 @@
#define EV96100_SERIAL_PORT_DEFNS
#endif
+#ifdef CONFIG_MIPS_ITE8172
+#include <asm/it8172/it8172.h>
+#include <asm/it8172/it8172_int.h>
+#include <asm/it8712.h>
+#define ITE_SERIAL_PORT_DEFNS \
+ { baud_base: BASE_BAUD, port: (IT8172_PCI_IO_BASE + IT_UART_BASE), \
+ irq: IT8172_UART_IRQ, flags: STD_COM_FLAGS, type: 0x3 }, \
+ { baud_base: (24000000/(16*13)), port: (IT8172_PCI_IO_BASE + IT8712_UART1_PORT), \
+ irq: IT8172_SERIRQ_4, flags: STD_COM_FLAGS, type: 0x3 }, \
+ /* Smart Card Reader 0 */ \
+ { baud_base: BASE_BAUD, port: (IT8172_PCI_IO_BASE + IT_SCR0_BASE), \
+ irq: IT8172_SCR0_IRQ, flags: STD_COM_FLAGS, type: 0x3 }, \
+ /* Smart Card Reader 1 */ \
+ { baud_base: BASE_BAUD, port: (IT8172_PCI_IO_BASE + IT_SCR1_BASE), \
+ irq: IT8172_SCR1_IRQ, flags: STD_COM_FLAGS, type: 0x3 },
+#else
+#define ITE_SERIAL_PORT_DEFNS
+#endif
+
#ifdef CONFIG_HAVE_STD_PC_SERIAL_PORT
#define STD_SERIAL_PORT_DEFNS \
/* UART CLK PORT IRQ FLAGS */ \
@@ -200,6 +219,7 @@
#endif
#define SERIAL_PORT_DFNS \
+ ITE_SERIAL_PORT_DEFNS \
ATLAS_SERIAL_PORT_DEFNS \
EV96100_SERIAL_PORT_DEFNS \
JAZZ_SERIAL_PORT_DEFNS \