blob: 671431397fc02598316a9da65e170cd9196c5df8 [file] [log] [blame]
Rajeshwari Birje194fa0a2013-12-26 09:44:26 +05301
Chander Kashyaped2e25a2012-02-05 23:01:47 +00002/*
Hatim RV793ed482012-12-11 00:52:48 +00003 * Copyright (C) 2012 Samsung Electronics
Chander Kashyaped2e25a2012-02-05 23:01:47 +00004 *
Hatim RV793ed482012-12-11 00:52:48 +00005 * Configuration settings for the SAMSUNG EXYNOS5250 board.
Chander Kashyaped2e25a2012-02-05 23:01:47 +00006 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02007 * SPDX-License-Identifier: GPL-2.0+
Chander Kashyaped2e25a2012-02-05 23:01:47 +00008 */
9
Rajeshwari Birje194fa0a2013-12-26 09:44:26 +053010#ifndef __CONFIG_5250_H
11#define __CONFIG_5250_H
Chander Kashyaped2e25a2012-02-05 23:01:47 +000012
Simon Glassbe165002014-10-07 22:01:44 -060013#include <configs/exynos5-common.h>
Chander Kashyapd4409932013-07-25 18:28:52 +053014#define CONFIG_EXYNOS5250
Chander Kashyaped2e25a2012-02-05 23:01:47 +000015
Chander Kashyaped2e25a2012-02-05 23:01:47 +000016#define CONFIG_SYS_SDRAM_BASE 0x40000000
17#define CONFIG_SYS_TEXT_BASE 0x43E00000
18
Chander Kashyaped2e25a2012-02-05 23:01:47 +000019/* 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
Akshay Saraswate2728422014-06-18 17:54:00 +053023#define CONFIG_SPL_MAX_FOOTPRINT (14 * 1024)
24
Rajeshwari Shindee44ebd02012-07-03 20:02:53 +000025#define CONFIG_SPL_TEXT_BASE 0x02023400
Rajeshwari Shindee44ebd02012-07-03 20:02:53 +000026
Chander Kashyaped2e25a2012-02-05 23:01:47 +000027#define CONFIG_IRAM_STACK 0x02050000
28
Rajeshwari Shindebed24422013-07-04 12:29:17 +053029#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
Chander Kashyaped2e25a2012-02-05 23:01:47 +000030
Rajeshwari Shinde346fe622012-08-24 00:39:24 +000031/* PMIC */
Simon Glass02229812014-05-20 06:01:34 -060032#define CONFIG_POWER_MAX77686
Rajeshwari Shinde346fe622012-08-24 00:39:24 +000033
Rajeshwari Shinde4453d232012-10-25 19:49:30 +000034/* Sound */
35#define CONFIG_CMD_SOUND
36#ifdef CONFIG_CMD_SOUND
37#define CONFIG_SOUND
Simon Glass59c021e2014-02-27 13:26:20 -070038#define CONFIG_I2S_SAMSUNG
Rajeshwari Shinde4453d232012-10-25 19:49:30 +000039#define CONFIG_I2S
Rajeshwari Shinde4200a522013-02-14 19:46:16 +000040#define CONFIG_SOUND_MAX98095
Rajeshwari Shinde4453d232012-10-25 19:49:30 +000041#define CONFIG_SOUND_WM8994
42#endif
43
Rajeshwari Birje194fa0a2013-12-26 09:44:26 +053044/* I2C */
45#define CONFIG_MAX_I2C_NUM 8
Simon Glass9f68f8e2012-12-05 14:46:45 +000046
Ajay Kumarca67ee22013-01-08 20:42:26 +000047/* Display */
48#define CONFIG_LCD
Ajay Kumar11575ae2013-01-10 21:06:10 +000049#ifdef CONFIG_LCD
Ajay Kumarca67ee22013-01-08 20:42:26 +000050#define CONFIG_EXYNOS_FB
51#define CONFIG_EXYNOS_DP
Ajay Kumarca67ee22013-01-08 20:42:26 +000052#define LCD_BPP LCD_COLOR16
Ajay Kumar11575ae2013-01-10 21:06:10 +000053#endif
Michael Prattf2607922014-06-18 17:54:02 +053054
55/* DRAM Memory Banks */
56#define CONFIG_NR_DRAM_BANKS 8
57#define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */
58
Rajeshwari Birje194fa0a2013-12-26 09:44:26 +053059#endif /* __CONFIG_5250_H */