1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  *  Copyright (C) 2015-2017 Altera Corporation <www.altera.com>
4  */
5 
6 #ifndef __CONFIG_SOCFGPA_ARRIA10_H__
7 #define __CONFIG_SOCFGPA_ARRIA10_H__
8 
9 #include <asm/arch/base_addr_a10.h>
10 
11 /* Booting Linux */
12 #define CONFIG_LOADADDR		0x01000000
13 #define CONFIG_SYS_LOAD_ADDR	CONFIG_LOADADDR
14 
15 /*
16  * U-Boot general configurations
17  */
18 
19 /* Memory configurations  */
20 #define PHYS_SDRAM_1_SIZE		0x40000000
21 
22 /* Ethernet on SoC (EMAC) */
23 
24 /*
25  * U-Boot environment configurations
26  */
27 
28 /*
29  * Serial / UART configurations
30  */
31 #define CONFIG_SYS_NS16550_MEM32
32 #define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, 115200}
33 
34 /*
35  * L4 OSC1 Timer 0
36  */
37 /* reload value when timer count to zero */
38 #define TIMER_LOAD_VAL			0xFFFFFFFF
39 
40 /*
41  * Flash configurations
42  */
43 #define CONFIG_SYS_MAX_FLASH_BANKS     1
44 
45 /* The rest of the configuration is shared */
46 #include <configs/socfpga_common.h>
47 
48 #endif	/* __CONFIG_SOCFGPA_ARRIA10_H__ */
49