mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-30 19:48:19 +00:00 
			
		
		
		
	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>
		
			
				
	
	
		
			23 lines
		
	
	
		
			387 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 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 */
 |