diff options
author | Shaohui Xie <Shaohui.Xie@nxp.com> | 2016-10-28 14:24:02 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-11-21 09:20:32 -0800 |
commit | fdc2b54cb864210437010ef84934b3d04bb723c6 (patch) | |
tree | 3a65a505ae33009426b2a86490658446d214845c /include | |
parent | 9b46213b4f63578be2fbcf6b0532a0a8d4b5edb0 (diff) |
armv8: ls1046aqds: add lpuart support
LPUART0 is used by default, and it's using platform clock.
Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/ls1046aqds.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/ls1046aqds.h b/include/configs/ls1046aqds.h index c0f5bd3562..29e0aa5ee1 100644 --- a/include/configs/ls1046aqds.h +++ b/include/configs/ls1046aqds.h @@ -127,6 +127,14 @@ unsigned long get_board_ddr_clk(void); #endif #endif +/* LPUART */ +#ifdef CONFIG_LPUART +#define CONFIG_LPUART_32B_REG +#define CFG_UART_MUX_MASK 0x6 +#define CFG_UART_MUX_SHIFT 1 +#define CFG_LPUART_EN 0x2 +#endif + /* SATA */ #define CONFIG_LIBATA #define CONFIG_SCSI_AHCI |