blob: 615df64dc17a0e0b2406ee65d825fd228ff7dada [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
Rajeshwari Birje194fa0a2013-12-26 09:44:26 +053013#include <configs/exynos5-dt.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
Rajeshwari Shinde8755bb92012-05-14 05:52:05 +000023/* USB */
24#define CONFIG_CMD_USB
Vivek Gautamc728d142013-09-14 14:02:51 +053025#define CONFIG_USB_XHCI
26#define CONFIG_USB_XHCI_EXYNOS
27#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
Rajeshwari Shinde8755bb92012-05-14 05:52:05 +000028#define CONFIG_USB_STORAGE
29
Vivek Gautam681dd832013-01-28 00:39:59 +000030/* USB boot mode */
Rajeshwari Shindebed24422013-07-04 12:29:17 +053031#define CONFIG_USB_BOOTING
Vivek Gautam681dd832013-01-28 00:39:59 +000032#define EXYNOS_COPY_USB_FNPTR_ADDR 0x02020070
33#define EXYNOS_USB_SECONDARY_BOOT 0xfeed0002
34#define EXYNOS_IRAM_SECONDARY_BASE 0x02020018
35
Rajeshwari Shindee44ebd02012-07-03 20:02:53 +000036#define CONFIG_SPL_TEXT_BASE 0x02023400
Rajeshwari Shindee44ebd02012-07-03 20:02:53 +000037
Chander Kashyaped2e25a2012-02-05 23:01:47 +000038#define CONFIG_BOOTCOMMAND "mmc read 40007000 451 2000; bootm 40007000"
39
Chander Kashyaped2e25a2012-02-05 23:01:47 +000040#define CONFIG_SYS_PROMPT "SMDK5250 # "
Chander Kashyaped2e25a2012-02-05 23:01:47 +000041#define CONFIG_IDENT_STRING " for SMDK5250"
42
Chander Kashyaped2e25a2012-02-05 23:01:47 +000043#define CONFIG_IRAM_STACK 0x02050000
44
Rajeshwari Shindebed24422013-07-04 12:29:17 +053045#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
Chander Kashyaped2e25a2012-02-05 23:01:47 +000046
Rajeshwari Shinde346fe622012-08-24 00:39:24 +000047/* PMIC */
Rajeshwari Shinde346fe622012-08-24 00:39:24 +000048#define CONFIG_PMIC_MAX77686
49
Rajeshwari Shinde4453d232012-10-25 19:49:30 +000050/* Sound */
51#define CONFIG_CMD_SOUND
52#ifdef CONFIG_CMD_SOUND
53#define CONFIG_SOUND
54#define CONFIG_I2S
Rajeshwari Shinde4200a522013-02-14 19:46:16 +000055#define CONFIG_SOUND_MAX98095
Rajeshwari Shinde4453d232012-10-25 19:49:30 +000056#define CONFIG_SOUND_WM8994
57#endif
58
Rajeshwari Birje194fa0a2013-12-26 09:44:26 +053059/* I2C */
60#define CONFIG_MAX_I2C_NUM 8
Simon Glass9f68f8e2012-12-05 14:46:45 +000061
Ajay Kumarca67ee22013-01-08 20:42:26 +000062/* Display */
63#define CONFIG_LCD
Ajay Kumar11575ae2013-01-10 21:06:10 +000064#ifdef CONFIG_LCD
Ajay Kumarca67ee22013-01-08 20:42:26 +000065#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
Ajay Kumar11575ae2013-01-10 21:06:10 +000070#endif
Rajeshwari Birje194fa0a2013-12-26 09:44:26 +053071#endif /* __CONFIG_5250_H */