Rajeshwari Birje | 76dd9b6 | 2013-12-26 09:44:26 +0530 | [diff] [blame] | 1 | |
Chander Kashyap | 0aee53b | 2012-02-05 23:01:47 +0000 | [diff] [blame] | 2 | /* |
Hatim RV | 540b5af | 2012-12-11 00:52:48 +0000 | [diff] [blame] | 3 | * Copyright (C) 2012 Samsung Electronics |
Chander Kashyap | 0aee53b | 2012-02-05 23:01:47 +0000 | [diff] [blame] | 4 | * |
Hatim RV | 540b5af | 2012-12-11 00:52:48 +0000 | [diff] [blame] | 5 | * Configuration settings for the SAMSUNG EXYNOS5250 board. |
Chander Kashyap | 0aee53b | 2012-02-05 23:01:47 +0000 | [diff] [blame] | 6 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | * SPDX-License-Identifier: GPL-2.0+ |
Chander Kashyap | 0aee53b | 2012-02-05 23:01:47 +0000 | [diff] [blame] | 8 | */ |
| 9 | |
Rajeshwari Birje | 76dd9b6 | 2013-12-26 09:44:26 +0530 | [diff] [blame] | 10 | #ifndef __CONFIG_5250_H |
| 11 | #define __CONFIG_5250_H |
Chander Kashyap | 0aee53b | 2012-02-05 23:01:47 +0000 | [diff] [blame] | 12 | |
Rajeshwari Birje | 76dd9b6 | 2013-12-26 09:44:26 +0530 | [diff] [blame] | 13 | #include <configs/exynos5-dt.h> |
Chander Kashyap | ad403e7 | 2013-07-25 18:28:52 +0530 | [diff] [blame] | 14 | #define CONFIG_EXYNOS5250 |
Chander Kashyap | 0aee53b | 2012-02-05 23:01:47 +0000 | [diff] [blame] | 15 | |
Chander Kashyap | 0aee53b | 2012-02-05 23:01:47 +0000 | [diff] [blame] | 16 | #define CONFIG_SYS_SDRAM_BASE 0x40000000 |
| 17 | #define CONFIG_SYS_TEXT_BASE 0x43E00000 |
| 18 | |
Chander Kashyap | 0aee53b | 2012-02-05 23:01:47 +0000 | [diff] [blame] | 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 | |
Rajeshwari Shinde | a4dae63 | 2012-05-14 05:52:05 +0000 | [diff] [blame] | 23 | /* USB */ |
| 24 | #define CONFIG_CMD_USB |
Vivek Gautam | 8f999f0 | 2013-09-14 14:02:51 +0530 | [diff] [blame] | 25 | #define CONFIG_USB_XHCI |
| 26 | #define CONFIG_USB_XHCI_EXYNOS |
| 27 | #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2 |
Rajeshwari Shinde | a4dae63 | 2012-05-14 05:52:05 +0000 | [diff] [blame] | 28 | #define CONFIG_USB_STORAGE |
| 29 | |
Vivek Gautam | 70656c7 | 2013-01-28 00:39:59 +0000 | [diff] [blame] | 30 | /* USB boot mode */ |
Rajeshwari Shinde | 643be9c | 2013-07-04 12:29:17 +0530 | [diff] [blame] | 31 | #define CONFIG_USB_BOOTING |
Vivek Gautam | 70656c7 | 2013-01-28 00:39:59 +0000 | [diff] [blame] | 32 | #define EXYNOS_COPY_USB_FNPTR_ADDR 0x02020070 |
| 33 | #define EXYNOS_USB_SECONDARY_BOOT 0xfeed0002 |
| 34 | #define EXYNOS_IRAM_SECONDARY_BASE 0x02020018 |
| 35 | |
Rajeshwari Shinde | 78fbcc9 | 2012-07-03 20:02:53 +0000 | [diff] [blame] | 36 | #define CONFIG_SPL_TEXT_BASE 0x02023400 |
Rajeshwari Shinde | 78fbcc9 | 2012-07-03 20:02:53 +0000 | [diff] [blame] | 37 | |
Chander Kashyap | 0aee53b | 2012-02-05 23:01:47 +0000 | [diff] [blame] | 38 | #define CONFIG_BOOTCOMMAND "mmc read 40007000 451 2000; bootm 40007000" |
| 39 | |
Chander Kashyap | 0aee53b | 2012-02-05 23:01:47 +0000 | [diff] [blame] | 40 | #define CONFIG_SYS_PROMPT "SMDK5250 # " |
Chander Kashyap | 0aee53b | 2012-02-05 23:01:47 +0000 | [diff] [blame] | 41 | #define CONFIG_IDENT_STRING " for SMDK5250" |
| 42 | |
Chander Kashyap | 0aee53b | 2012-02-05 23:01:47 +0000 | [diff] [blame] | 43 | #define CONFIG_IRAM_STACK 0x02050000 |
| 44 | |
Rajeshwari Shinde | 643be9c | 2013-07-04 12:29:17 +0530 | [diff] [blame] | 45 | #define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK |
Chander Kashyap | 0aee53b | 2012-02-05 23:01:47 +0000 | [diff] [blame] | 46 | |
Rajeshwari Shinde | 0d146a5 | 2012-08-24 00:39:24 +0000 | [diff] [blame] | 47 | /* PMIC */ |
Rajeshwari Shinde | 0d146a5 | 2012-08-24 00:39:24 +0000 | [diff] [blame] | 48 | #define CONFIG_PMIC_MAX77686 |
| 49 | |
Rajeshwari Shinde | 3636471 | 2012-10-25 19:49:30 +0000 | [diff] [blame] | 50 | /* Sound */ |
| 51 | #define CONFIG_CMD_SOUND |
| 52 | #ifdef CONFIG_CMD_SOUND |
| 53 | #define CONFIG_SOUND |
Simon Glass | a77bf70 | 2014-02-27 13:26:20 -0700 | [diff] [blame] | 54 | #define CONFIG_I2S_SAMSUNG |
Rajeshwari Shinde | 3636471 | 2012-10-25 19:49:30 +0000 | [diff] [blame] | 55 | #define CONFIG_I2S |
Rajeshwari Shinde | cfa6df1 | 2013-02-14 19:46:16 +0000 | [diff] [blame] | 56 | #define CONFIG_SOUND_MAX98095 |
Rajeshwari Shinde | 3636471 | 2012-10-25 19:49:30 +0000 | [diff] [blame] | 57 | #define CONFIG_SOUND_WM8994 |
| 58 | #endif |
| 59 | |
Rajeshwari Birje | 76dd9b6 | 2013-12-26 09:44:26 +0530 | [diff] [blame] | 60 | /* I2C */ |
| 61 | #define CONFIG_MAX_I2C_NUM 8 |
Simon Glass | 23b479b | 2012-12-05 14:46:45 +0000 | [diff] [blame] | 62 | |
Ajay Kumar | 9b57285 | 2013-01-08 20:42:26 +0000 | [diff] [blame] | 63 | /* Display */ |
| 64 | #define CONFIG_LCD |
Ajay Kumar | 99e5162 | 2013-01-10 21:06:10 +0000 | [diff] [blame] | 65 | #ifdef CONFIG_LCD |
Ajay Kumar | 9b57285 | 2013-01-08 20:42:26 +0000 | [diff] [blame] | 66 | #define CONFIG_EXYNOS_FB |
| 67 | #define CONFIG_EXYNOS_DP |
| 68 | #define LCD_XRES 2560 |
| 69 | #define LCD_YRES 1600 |
| 70 | #define LCD_BPP LCD_COLOR16 |
Ajay Kumar | 99e5162 | 2013-01-10 21:06:10 +0000 | [diff] [blame] | 71 | #endif |
Rajeshwari Birje | 76dd9b6 | 2013-12-26 09:44:26 +0530 | [diff] [blame] | 72 | #endif /* __CONFIG_5250_H */ |