u-boot/include/configs/th1520_lpi4a.h
Yixun Lan 5f3a7fdb72 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 <wefu@redhat.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
2023-07-12 13:21:41 +08:00

22 lines
387 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (c) 2023 Yixun Lan <dlan@gentoo.org>
*
*/
#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 */