summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorShaohui Xie <Shaohui.Xie@nxp.com>2016-10-28 14:24:02 +0800
committerYork Sun <york.sun@nxp.com>2016-11-21 09:20:32 -0800
commitfdc2b54cb864210437010ef84934b3d04bb723c6 (patch)
tree3a65a505ae33009426b2a86490658446d214845c /include/configs
parent9b46213b4f63578be2fbcf6b0532a0a8d4b5edb0 (diff)
downloadu-boot-imx-fdc2b54cb864210437010ef84934b3d04bb723c6.zip
u-boot-imx-fdc2b54cb864210437010ef84934b3d04bb723c6.tar.gz
u-boot-imx-fdc2b54cb864210437010ef84934b3d04bb723c6.tar.bz2
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/configs')
-rw-r--r--include/configs/ls1046aqds.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/ls1046aqds.h b/include/configs/ls1046aqds.h
index c0f5bd3..29e0aa5 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