summaryrefslogtreecommitdiff
path: root/include/ns16550.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-12-01 02:06:31 +0100
committerTom Rini <trini@konsulko.com>2016-12-19 12:26:37 -0500
commit0b060eefd951fc111ecb77c7b1932b158e6a4f2c (patch)
treee021c5358869fb75c9f6c863e401fc276fdbb6bb /include/ns16550.h
parent79fd9281880974f076c5b4b354b57faa6e0cc146 (diff)
serial: 16550: Add Ingenic JZ4780 support
Add compatibility string for the Ingenic JZ4780 SoC, the necessary UART enable bit into FCR and register shift. Neither are encoded in the DTS coming from Linux, so we need to support it this way. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Paul Burton <paul.burton@imgtec.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/ns16550.h')
-rw-r--r--include/ns16550.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ns16550.h b/include/ns16550.h
index 45fd68b65d..7c97036831 100644
--- a/include/ns16550.h
+++ b/include/ns16550.h
@@ -118,6 +118,9 @@ typedef struct NS16550 *NS16550_t;
#define UART_FCR_RXSR 0x02 /* Receiver soft reset */
#define UART_FCR_TXSR 0x04 /* Transmitter soft reset */
+/* Ingenic JZ47xx specific UART-enable bit. */
+#define UART_FCR_UME 0x10
+
/*
* These are the definitions for the Modem Control Register
*/