xref: /rk3399_rockchip-uboot/include/configs/arndale.h (revision 87b27c7aa73241d1eb244048f7aee06fc24af4ef)
1 /*
2  * Copyright (C) 2013 Samsung Electronics
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  *
6  * Configuration settings for the SAMSUNG Arndale board.
7  */
8 
9 #ifndef __CONFIG_ARNDALE_H
10 #define __CONFIG_ARNDALE_H
11 
12 #define EXYNOS_FDTFILE_SETTING \
13 	"fdtfile=exynos5250-arndale.dtb\0"
14 
15 #include "exynos5250-common.h"
16 
17 /* SD/MMC configuration */
18 #define CONFIG_SUPPORT_EMMC_BOOT
19 
20 /* allow to overwrite serial and ethaddr */
21 #define CONFIG_ENV_OVERWRITE
22 
23 /* USB */
24 #define CONFIG_USB_EHCI
25 #define CONFIG_USB_EHCI_EXYNOS
26 
27 /* MMC SPL */
28 #define CONFIG_EXYNOS_SPL
29 
30 /* Miscellaneous configurable options */
31 #define CONFIG_SYS_PROMPT		"ARNDALE # "
32 #define CONFIG_DEFAULT_CONSOLE		"console=ttySAC2,115200n8\0"
33 
34 #define CONFIG_NR_DRAM_BANKS	8
35 #define SDRAM_BANK_SIZE		(256UL << 20UL)	/* 256 MB */
36 
37 #define CONFIG_IDENT_STRING		" for ARNDALE"
38 
39 #define CONFIG_ENV_IS_IN_MMC
40 #define CONFIG_ENV_OFFSET	(CONFIG_BL2_OFFSET + CONFIG_BL2_SIZE)
41 
42 #define CONFIG_IRAM_STACK	0x02050000
43 
44 #define CONFIG_SYS_INIT_SP_ADDR	CONFIG_IRAM_STACK
45 
46 /* PMIC */
47 #define CONFIG_PMIC
48 #define CONFIG_POWER_I2C
49 #define CONFIG_POWER_MAX77686
50 
51 
52 #define CONFIG_PREBOOT
53 
54 #define CONFIG_S5P_PA_SYSRAM	0x02020000
55 #define CONFIG_SMP_PEN_ADDR	CONFIG_S5P_PA_SYSRAM
56 
57 /* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */
58 #define CONFIG_ARM_GIC_BASE_ADDRESS	0x10480000
59 
60 #endif	/* __CONFIG_H */
61