]>
Commit | Line | Data |
---|---|---|
76dd9b6a | 1 | |
0aee53ba | 2 | /* |
540b5af2 | 3 | * Copyright (C) 2012 Samsung Electronics |
0aee53ba | 4 | * |
540b5af2 | 5 | * Configuration settings for the SAMSUNG EXYNOS5250 board. |
0aee53ba | 6 | * |
1a459660 | 7 | * SPDX-License-Identifier: GPL-2.0+ |
0aee53ba CK |
8 | */ |
9 | ||
76dd9b6a RS |
10 | #ifndef __CONFIG_5250_H |
11 | #define __CONFIG_5250_H | |
0aee53ba | 12 | |
76dd9b6a | 13 | #include <configs/exynos5-dt.h> |
ad403e71 | 14 | #define CONFIG_EXYNOS5250 |
0aee53ba | 15 | |
0aee53ba CK |
16 | #define CONFIG_SYS_SDRAM_BASE 0x40000000 |
17 | #define CONFIG_SYS_TEXT_BASE 0x43E00000 | |
18 | ||
0aee53ba CK |
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 | ||
a4dae631 RS |
23 | /* USB */ |
24 | #define CONFIG_CMD_USB | |
8f999f0c VG |
25 | #define CONFIG_USB_XHCI |
26 | #define CONFIG_USB_XHCI_EXYNOS | |
27 | #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2 | |
a4dae631 RS |
28 | #define CONFIG_USB_STORAGE |
29 | ||
70656c79 | 30 | /* USB boot mode */ |
643be9c0 | 31 | #define CONFIG_USB_BOOTING |
70656c79 VG |
32 | #define EXYNOS_COPY_USB_FNPTR_ADDR 0x02020070 |
33 | #define EXYNOS_USB_SECONDARY_BOOT 0xfeed0002 | |
34 | #define EXYNOS_IRAM_SECONDARY_BASE 0x02020018 | |
35 | ||
78fbcc95 | 36 | #define CONFIG_SPL_TEXT_BASE 0x02023400 |
78fbcc95 | 37 | |
0aee53ba CK |
38 | #define CONFIG_BOOTCOMMAND "mmc read 40007000 451 2000; bootm 40007000" |
39 | ||
0aee53ba | 40 | #define CONFIG_SYS_PROMPT "SMDK5250 # " |
0aee53ba CK |
41 | #define CONFIG_IDENT_STRING " for SMDK5250" |
42 | ||
0aee53ba CK |
43 | #define CONFIG_IRAM_STACK 0x02050000 |
44 | ||
643be9c0 | 45 | #define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK |
0aee53ba | 46 | |
0d146a56 | 47 | /* PMIC */ |
0d146a56 RS |
48 | #define CONFIG_PMIC_MAX77686 |
49 | ||
36364714 RS |
50 | /* Sound */ |
51 | #define CONFIG_CMD_SOUND | |
52 | #ifdef CONFIG_CMD_SOUND | |
53 | #define CONFIG_SOUND | |
54 | #define CONFIG_I2S | |
cfa6df19 | 55 | #define CONFIG_SOUND_MAX98095 |
36364714 RS |
56 | #define CONFIG_SOUND_WM8994 |
57 | #endif | |
58 | ||
76dd9b6a RS |
59 | /* I2C */ |
60 | #define CONFIG_MAX_I2C_NUM 8 | |
23b479b2 | 61 | |
9b572852 AK |
62 | /* Display */ |
63 | #define CONFIG_LCD | |
99e51629 | 64 | #ifdef CONFIG_LCD |
9b572852 AK |
65 | #define CONFIG_EXYNOS_FB |
66 | #define CONFIG_EXYNOS_DP | |
67 | #define LCD_XRES 2560 | |
68 | #define LCD_YRES 1600 | |
69 | #define LCD_BPP LCD_COLOR16 | |
99e51629 | 70 | #endif |
76dd9b6a | 71 | #endif /* __CONFIG_5250_H */ |