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.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/include/asm-mips/serial.h b/include/asm-mips/serial.h
index b5b8c6ff2..6d5634aa3 100644
--- a/include/asm-mips/serial.h
+++ b/include/asm-mips/serial.h
@@ -134,6 +134,21 @@
#define IVR_SERIAL_PORT_DEFNS
#endif
+#ifdef CONFIG_AU1000_UART
+#include <asm/au1000.h>
+#define AU1000_SERIAL_PORT_DEFNS \
+ { baud_base: 0, port: UART0_ADDR, irq: AU1000_UART0_INT, \
+ flags: STD_COM_FLAGS, type: 1 }, \
+ { baud_base: 0, port: UART1_ADDR, irq: AU1000_UART1_INT, \
+ flags: STD_COM_FLAGS, type: 1 }, \
+ { baud_base: 0, port: UART2_ADDR, irq: AU1000_UART2_INT, \
+ flags: STD_COM_FLAGS, type: 1 }, \
+ { baud_base: 0, port: UART3_ADDR, irq: AU1000_UART3_INT, \
+ flags: STD_COM_FLAGS, type: 1 },
+#else
+#define AU1000_SERIAL_PORT_DEFNS
+#endif
+
#ifdef CONFIG_HAVE_STD_PC_SERIAL_PORT
#define STD_SERIAL_PORT_DEFNS \
/* UART CLK PORT IRQ FLAGS */ \
@@ -240,4 +255,5 @@
STD_SERIAL_PORT_DEFNS \
EXTRA_SERIAL_PORT_DEFNS \
HUB6_SERIAL_PORT_DFNS \
- MOMENCO_OCELOT_SERIAL_PORT_DEFNS
+ MOMENCO_OCELOT_SERIAL_PORT_DEFNS\
+ AU1000_SERIAL_PORT_DEFNS