xref: /rk3399_rockchip-uboot/include/configs/arndale.h (revision adc7d20631930873ff8314319b3c66f2798d6bc6)
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 #include "exynos5250-common.h"
13 
14 /* SD/MMC configuration */
15 #define CONFIG_SUPPORT_EMMC_BOOT
16 
17 /* allow to overwrite serial and ethaddr */
18 #define CONFIG_ENV_OVERWRITE
19 
20 /* USB */
21 #define CONFIG_USB_EHCI
22 #define CONFIG_USB_EHCI_EXYNOS
23 
24 #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS	3
25 #define CONFIG_USB_HOST_ETHER
26 #define CONFIG_USB_ETHER_ASIX
27 
28 /* MMC SPL */
29 #define CONFIG_EXYNOS_SPL
30 
31 /* Miscellaneous configurable options */
32 #define CONFIG_SYS_PROMPT		"ARNDALE # "
33 #define CONFIG_DEFAULT_CONSOLE		"console=ttySAC2,115200n8\0"
34 
35 #define CONFIG_NR_DRAM_BANKS	8
36 #define SDRAM_BANK_SIZE		(256UL << 20UL)	/* 256 MB */
37 
38 #define CONFIG_IDENT_STRING		" for ARNDALE"
39 
40 #define CONFIG_ENV_IS_IN_MMC
41 #define CONFIG_ENV_OFFSET	(CONFIG_BL2_OFFSET + CONFIG_BL2_SIZE)
42 
43 #define CONFIG_IRAM_STACK	0x02050000
44 
45 #define CONFIG_SYS_INIT_SP_ADDR	CONFIG_IRAM_STACK
46 
47 /* PMIC */
48 #define CONFIG_PMIC
49 #define CONFIG_POWER_I2C
50 #define CONFIG_POWER_MAX77686
51 
52 
53 #define CONFIG_PREBOOT
54 
55 #define CONFIG_S5P_PA_SYSRAM	0x02020000
56 #define CONFIG_SMP_PEN_ADDR	CONFIG_S5P_PA_SYSRAM
57 
58 /* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */
59 #define CONFIG_ARM_GIC_BASE_ADDRESS	0x10480000
60 
61 #define CONFIG_ARMV7_VIRT
62 
63 #endif	/* __CONFIG_H */
64