summaryrefslogtreecommitdiff
path: root/include/configs/ls1046aqds.h
diff options
context:
space:
mode:
authorShaohui Xie <Shaohui.Xie@nxp.com>2016-10-28 06:24:02 (GMT)
committerYork Sun <york.sun@nxp.com>2016-11-21 17:20:32 (GMT)
commitfdc2b54cb864210437010ef84934b3d04bb723c6 (patch)
tree3a65a505ae33009426b2a86490658446d214845c /include/configs/ls1046aqds.h
parent9b46213b4f63578be2fbcf6b0532a0a8d4b5edb0 (diff)
downloadu-boot-fdc2b54cb864210437010ef84934b3d04bb723c6.tar.xz
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/ls1046aqds.h')
-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