diff options
| author | Marek Vasut <[email protected]> | 2016-12-01 02:06:31 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2016-12-19 12:26:37 -0500 |
| commit | 0b060eefd951fc111ecb77c7b1932b158e6a4f2c (patch) | |
| tree | e021c5358869fb75c9f6c863e401fc276fdbb6bb /include | |
| parent | 79fd9281880974f076c5b4b354b57faa6e0cc146 (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 <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Daniel Schwierzeck <[email protected]>
Cc: Paul Burton <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/ns16550.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ns16550.h b/include/ns16550.h index 45fd68b65d7..7c970368310 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 */ |
