From 0b060eefd951fc111ecb77c7b1932b158e6a4f2c Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Thu, 1 Dec 2016 02:06:31 +0100 Subject: 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 Cc: Tom Rini Cc: Simon Glass Cc: Daniel Schwierzeck Cc: Paul Burton Reviewed-by: Simon Glass --- include/ns16550.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/ns16550.h b/include/ns16550.h index 45fd68b..7c97036 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 */ -- cgit v1.1