diff options
| author | Yixun Lan <[email protected]> | 2023-07-08 19:24:32 +0800 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2023-07-12 13:21:41 +0800 |
| commit | 5f3a7fdb724976698e9d211e4e174e826c7c4abe (patch) | |
| tree | c07fadfda25e379c86784cd4c5c94e2f42cb9a8e /include | |
| parent | 9675d9202780fd996c00ad34f0360c89376205b3 (diff) | |
riscv: t-head: licheepi4a: initial support added
Add support for Sipeed's Lichee Pi 4A board which based on T-HEAD's
TH1520 SoC, only minimal device tree and serial console are enabled,
so it's capable of chain booting from T-HEAD's vendor u-boot.
Reviewed-by: Wei Fu <[email protected]>
Signed-off-by: Yixun Lan <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/th1520_lpi4a.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/configs/th1520_lpi4a.h b/include/configs/th1520_lpi4a.h new file mode 100644 index 00000000000..87496a52c4c --- /dev/null +++ b/include/configs/th1520_lpi4a.h @@ -0,0 +1,22 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (c) 2023 Yixun Lan <[email protected]> + * + */ + +#ifndef __TH1520_LPI4A_H +#define __TH1520_LPI4A_H + +#include <linux/sizes.h> + +#define CFG_SYS_SDRAM_BASE 0x00000000 + +#define UART_BASE 0xffe7014000 +#define UART_REG_WIDTH 32 + +/* Environment options */ + +#define CFG_EXTRA_ENV_SETTINGS \ + "PS1=[LPi4A]# \0" + +#endif /* __TH1520_LPI4A_H */ |
