dm: exynos: Split out the cros_ec drivers
[platform/kernel/u-boot.git] / include / configs / exynos5250-dt.h
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-dt.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 #define CONFIG_CROS_EC_I2C              /* Support CROS_EC over I2C */
26
27 /* USB */
28 #define CONFIG_CMD_USB
29 #define CONFIG_USB_XHCI
30 #define CONFIG_USB_XHCI_EXYNOS
31 #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS      2
32 #define CONFIG_USB_STORAGE
33
34 #define CONFIG_SPL_TEXT_BASE    0x02023400
35
36 #define CONFIG_BOOTCOMMAND      "mmc read 40007000 451 2000; bootm 40007000"
37
38 #define CONFIG_SYS_PROMPT               "SMDK5250 # "
39 #define CONFIG_IDENT_STRING             " for SMDK5250"
40
41 #define CONFIG_IRAM_STACK       0x02050000
42
43 #define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
44
45 /* PMIC */
46 #define CONFIG_POWER_MAX77686
47 #define CONFIG_POWER_TPS65090_I2C
48
49 /* Sound */
50 #define CONFIG_CMD_SOUND
51 #ifdef CONFIG_CMD_SOUND
52 #define CONFIG_SOUND
53 #define CONFIG_I2S_SAMSUNG
54 #define CONFIG_I2S
55 #define CONFIG_SOUND_MAX98095
56 #define CONFIG_SOUND_WM8994
57 #endif
58
59 /* I2C */
60 #define CONFIG_MAX_I2C_NUM      8
61
62 /* Display */
63 #define CONFIG_LCD
64 #ifdef CONFIG_LCD
65 #define CONFIG_EXYNOS_FB
66 #define CONFIG_EXYNOS_DP
67 #define LCD_BPP                 LCD_COLOR16
68 #endif
69
70 /* DRAM Memory Banks */
71 #define CONFIG_NR_DRAM_BANKS    8
72 #define SDRAM_BANK_SIZE         (256UL << 20UL) /* 256 MB */
73
74 #endif  /* __CONFIG_5250_H */