blob: c24984bd2b9a7f6831fae5ac991ab4dc2fb783d8 [file] [log] [blame]
Rajeshwari Birje76dd9b62013-12-26 09:44:26 +05301
Chander Kashyap0aee53b2012-02-05 23:01:47 +00002/*
Hatim RV540b5af2012-12-11 00:52:48 +00003 * Copyright (C) 2012 Samsung Electronics
Chander Kashyap0aee53b2012-02-05 23:01:47 +00004 *
Hatim RV540b5af2012-12-11 00:52:48 +00005 * Configuration settings for the SAMSUNG EXYNOS5250 board.
Chander Kashyap0aee53b2012-02-05 23:01:47 +00006 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02007 * SPDX-License-Identifier: GPL-2.0+
Chander Kashyap0aee53b2012-02-05 23:01:47 +00008 */
9
Rajeshwari Birje76dd9b62013-12-26 09:44:26 +053010#ifndef __CONFIG_5250_H
11#define __CONFIG_5250_H
Chander Kashyap0aee53b2012-02-05 23:01:47 +000012
Rajeshwari Birje76dd9b62013-12-26 09:44:26 +053013#include <configs/exynos5-dt.h>
Chander Kashyapad403e72013-07-25 18:28:52 +053014#define CONFIG_EXYNOS5250
Chander Kashyap0aee53b2012-02-05 23:01:47 +000015
Chander Kashyap0aee53b2012-02-05 23:01:47 +000016#define CONFIG_SYS_SDRAM_BASE 0x40000000
17#define CONFIG_SYS_TEXT_BASE 0x43E00000
18
Chander Kashyap0aee53b2012-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 Saraswatd2fe10f2014-06-18 17:54:00 +053023#define CONFIG_SPL_MAX_FOOTPRINT (14 * 1024)
24
Rajeshwari Shindea4dae632012-05-14 05:52:05 +000025/* USB */
26#define CONFIG_CMD_USB
Vivek Gautam8f999f02013-09-14 14:02:51 +053027#define CONFIG_USB_XHCI
28#define CONFIG_USB_XHCI_EXYNOS
29#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
Rajeshwari Shindea4dae632012-05-14 05:52:05 +000030#define CONFIG_USB_STORAGE
31
Rajeshwari Shinde78fbcc92012-07-03 20:02:53 +000032#define CONFIG_SPL_TEXT_BASE 0x02023400
Rajeshwari Shinde78fbcc92012-07-03 20:02:53 +000033
Chander Kashyap0aee53b2012-02-05 23:01:47 +000034#define CONFIG_BOOTCOMMAND "mmc read 40007000 451 2000; bootm 40007000"
35
Chander Kashyap0aee53b2012-02-05 23:01:47 +000036#define CONFIG_SYS_PROMPT "SMDK5250 # "
Chander Kashyap0aee53b2012-02-05 23:01:47 +000037#define CONFIG_IDENT_STRING " for SMDK5250"
38
Chander Kashyap0aee53b2012-02-05 23:01:47 +000039#define CONFIG_IRAM_STACK 0x02050000
40
Rajeshwari Shinde643be9c2013-07-04 12:29:17 +053041#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
Chander Kashyap0aee53b2012-02-05 23:01:47 +000042
Rajeshwari Shinde0d146a52012-08-24 00:39:24 +000043/* PMIC */
Simon Glass913702c2014-05-20 06:01:34 -060044#define CONFIG_POWER_MAX77686
Rajeshwari Shinde0d146a52012-08-24 00:39:24 +000045
Rajeshwari Shinde36364712012-10-25 19:49:30 +000046/* Sound */
47#define CONFIG_CMD_SOUND
48#ifdef CONFIG_CMD_SOUND
49#define CONFIG_SOUND
Simon Glassa77bf702014-02-27 13:26:20 -070050#define CONFIG_I2S_SAMSUNG
Rajeshwari Shinde36364712012-10-25 19:49:30 +000051#define CONFIG_I2S
Rajeshwari Shindecfa6df12013-02-14 19:46:16 +000052#define CONFIG_SOUND_MAX98095
Rajeshwari Shinde36364712012-10-25 19:49:30 +000053#define CONFIG_SOUND_WM8994
54#endif
55
Rajeshwari Birje76dd9b62013-12-26 09:44:26 +053056/* I2C */
57#define CONFIG_MAX_I2C_NUM 8
Simon Glass23b479b2012-12-05 14:46:45 +000058
Ajay Kumar9b572852013-01-08 20:42:26 +000059/* Display */
60#define CONFIG_LCD
Ajay Kumar99e51622013-01-10 21:06:10 +000061#ifdef CONFIG_LCD
Ajay Kumar9b572852013-01-08 20:42:26 +000062#define CONFIG_EXYNOS_FB
63#define CONFIG_EXYNOS_DP
Ajay Kumar9b572852013-01-08 20:42:26 +000064#define LCD_BPP LCD_COLOR16
Ajay Kumar99e51622013-01-10 21:06:10 +000065#endif
Michael Pratt0cf7e182014-06-18 17:54:02 +053066
67/* DRAM Memory Banks */
68#define CONFIG_NR_DRAM_BANKS 8
69#define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */
70
Rajeshwari Birje76dd9b62013-12-26 09:44:26 +053071#endif /* __CONFIG_5250_H */