summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Zi <ziyao@disroot.org>2025-05-13 09:04:55 +0000
committerLeo Yu-Chi Liang <ycliang@andestech.com>2025-05-21 16:49:52 +0800
commitacf9384d8cc372fc71a5857363cfe10c240c497a (patch)
treea8337a17470a7eb52f2a4047f1ce7a68a9e7942e
parent3dbff9eecc869bc28ce010cf97d2cfee25c44f3a (diff)
configs: th1520_lpi4a: Add UART clock frequency
The BROM of TH1520 always initializes UART0's parent clock and configures the baudrate to 115200. Describe the clock frequency to make UART function correctly in SPL without introducing CCF. Signed-off-by: Yao Zi <ziyao@disroot.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
-rw-r--r--include/configs/th1520_lpi4a.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/th1520_lpi4a.h b/include/configs/th1520_lpi4a.h
index 87496a52c4c..7a9b70a3678 100644
--- a/include/configs/th1520_lpi4a.h
+++ b/include/configs/th1520_lpi4a.h
@@ -9,6 +9,7 @@
#include <linux/sizes.h>
+#define CFG_SYS_NS16550_CLK 100000000
#define CFG_SYS_SDRAM_BASE 0x00000000
#define UART_BASE 0xffe7014000