summaryrefslogtreecommitdiff
path: root/include/ns16550.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-07-15 20:04:06 +0000
committerwdenk <wdenk>2003-07-15 20:04:06 +0000
commit2e5983d2ea5ff21406408c18c5b8fa12d4250908 (patch)
tree829991db5c6a66aab9219183c887ac0df423976e /include/ns16550.h
parent6dff55297283ebe16096e25f2dadb54e4b6fd9fc (diff)
Patches by Kshitij, 04 Jul 2003
- added support for arm925t cpu core - added support for TI OMAP 1510 Innovator Board
Diffstat (limited to 'include/ns16550.h')
-rw-r--r--include/ns16550.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/ns16550.h b/include/ns16550.h
index b2e791a4c0..dff4165e87 100644
--- a/include/ns16550.h
+++ b/include/ns16550.h
@@ -60,6 +60,13 @@ struct NS16550 {
int pad7:24;
unsigned char scr; /* 7 */
int pad8:24;
+#ifdef CONFIG_OMAP1510
+ unsigned char mdr1; /* mode select reset TL16C750*/
+ int pad9:24;
+ unsigned long pad[10];
+ unsigned char osc_12m_sel;
+ int pad10:24;
+#endif
} __attribute__ ((packed));
#else
#error "Please define NS16550 registers size."
@@ -102,6 +109,10 @@ typedef volatile struct NS16550 *NS16550_t;
#define LSR_TEMT 0x40 /* Xmitter empty */
#define LSR_ERR 0x80 /* Error */
+#ifdef CONFIG_OMAP1510
+#define OSC_12M_SEL 0x01 /* selects 6.5 * current clk div */
+#endif
+
/* useful defaults for LCR */
#define LCR_8N1 0x03