aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/amba/serial.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/amba/serial.h b/include/linux/amba/serial.h
index 0ddb5c02ad8b..d76a19ba2cff 100644
--- a/include/linux/amba/serial.h
+++ b/include/linux/amba/serial.h
@@ -65,6 +65,24 @@
65#define ST_UART011_ABCR 0x100 /* Autobaud control register. */ 65#define ST_UART011_ABCR 0x100 /* Autobaud control register. */
66#define ST_UART011_ABIMSC 0x15C /* Autobaud interrupt mask/clear register. */ 66#define ST_UART011_ABIMSC 0x15C /* Autobaud interrupt mask/clear register. */
67 67
68/*
69 * ZTE UART register offsets. This UART has a radically different address
70 * allocation from the ARM and ST variants, so we list all registers here.
71 * We assume unlisted registers do not exist.
72 */
73#define ZX_UART011_DR 0x04
74#define ZX_UART011_FR 0x14
75#define ZX_UART011_IBRD 0x24
76#define ZX_UART011_FBRD 0x28
77#define ZX_UART011_LCRH 0x30
78#define ZX_UART011_CR 0x34
79#define ZX_UART011_IFLS 0x38
80#define ZX_UART011_IMSC 0x40
81#define ZX_UART011_RIS 0x44
82#define ZX_UART011_MIS 0x48
83#define ZX_UART011_ICR 0x4c
84#define ZX_UART011_DMACR 0x50
85
68#define UART011_DR_OE (1 << 11) 86#define UART011_DR_OE (1 << 11)
69#define UART011_DR_BE (1 << 10) 87#define UART011_DR_BE (1 << 10)
70#define UART011_DR_PE (1 << 9) 88#define UART011_DR_PE (1 << 9)