summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/debug_ll.h
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-06-19 06:50:55 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-24 08:53:47 +0200
commitb90af8c6b56954987105dfd2d557edce7837c7c2 (patch)
treeed9552cd4d2789774f8950ae3f4c1f2fe83831c0 /arch/riscv/include/asm/debug_ll.h
parentad256e2499dbc2ec462318dfe9b30047f31db8bb (diff)
downloadbarebox-b90af8c6b56954987105dfd2d557edce7837c7c2.tar.gz
barebox-b90af8c6b56954987105dfd2d557edce7837c7c2.tar.xz
RISC-V: StarFive: add board support for BeagleV Starlight
With the different drivers now in place, we have everything to start a barebox image. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210619045055.779-30-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/riscv/include/asm/debug_ll.h')
-rw-r--r--arch/riscv/include/asm/debug_ll.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/debug_ll.h b/arch/riscv/include/asm/debug_ll.h
index 13609d25c5..b4caa0597a 100644
--- a/arch/riscv/include/asm/debug_ll.h
+++ b/arch/riscv/include/asm/debug_ll.h
@@ -17,6 +17,9 @@
#if defined CONFIG_DEBUG_ERIZO
#define DEBUG_LL_UART_ADDR 0x90000000
#define DEBUG_LL_UART_CLK (24000000 / 16)
+#elif defined CONFIG_DEBUG_STARFIVE
+#define DEBUG_LL_UART_ADDR 0x12440000
+#define DEBUG_LL_UART_CLK (100000000 / 16)
#endif
#define DEBUG_LL_UART_SHIFT 2