xref: /rk3399_rockchip-uboot/include/configs/exynos5250-common.h (revision 7d159536192323d65765211e7e7f56efcf3509ac)
1 
2 /*
3  * Copyright (C) 2012 Samsung Electronics
4  *
5  * Configuration settings for the SAMSUNG EXYNOS5250 board.
6  *
7  * SPDX-License-Identifier:	GPL-2.0+
8  */
9 
10 #ifndef __CONFIG_5250_H
11 #define __CONFIG_5250_H
12 
13 #include <configs/exynos5-common.h>
14 #define CONFIG_EXYNOS5250
15 
16 #define CONFIG_SYS_SDRAM_BASE		0x40000000
17 #define CONFIG_SYS_TEXT_BASE		0x43E00000
18 
19 /* MACH_TYPE_SMDK5250 macro will be removed once added to mach-types */
20 #define MACH_TYPE_SMDK5250		3774
21 #define CONFIG_MACH_TYPE		MACH_TYPE_SMDK5250
22 
23 #define CONFIG_SPL_MAX_FOOTPRINT	(14 * 1024)
24 
25 /* USB */
26 #define CONFIG_CMD_USB
27 #define CONFIG_USB_XHCI
28 #define CONFIG_USB_XHCI_EXYNOS
29 #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS	2
30 #define CONFIG_USB_STORAGE
31 
32 #define CONFIG_SPL_TEXT_BASE	0x02023400
33 
34 #define CONFIG_BOOTCOMMAND	"mmc read 40007000 451 2000; bootm 40007000"
35 
36 #define CONFIG_SYS_PROMPT		"SMDK5250 # "
37 #define CONFIG_IDENT_STRING		" for SMDK5250"
38 
39 #define CONFIG_IRAM_STACK	0x02050000
40 
41 #define CONFIG_SYS_INIT_SP_ADDR	CONFIG_IRAM_STACK
42 
43 /* PMIC */
44 #define CONFIG_POWER_MAX77686
45 
46 /* Sound */
47 #define CONFIG_CMD_SOUND
48 #ifdef CONFIG_CMD_SOUND
49 #define CONFIG_SOUND
50 #define CONFIG_I2S_SAMSUNG
51 #define CONFIG_I2S
52 #define CONFIG_SOUND_MAX98095
53 #define CONFIG_SOUND_WM8994
54 #endif
55 
56 /* I2C */
57 #define CONFIG_MAX_I2C_NUM	8
58 
59 /* Display */
60 #define CONFIG_LCD
61 #ifdef CONFIG_LCD
62 #define CONFIG_EXYNOS_FB
63 #define CONFIG_EXYNOS_DP
64 #define LCD_BPP			LCD_COLOR16
65 #endif
66 
67 /* DRAM Memory Banks */
68 #define CONFIG_NR_DRAM_BANKS	8
69 #define SDRAM_BANK_SIZE		(256UL << 20UL)	/* 256 MB */
70 
71 #endif  /* __CONFIG_5250_H */
72