2013-12-26 04:14:26 +00:00
|
|
|
|
2012-02-05 23:01:47 +00:00
|
|
|
/*
|
2012-12-11 00:52:48 +00:00
|
|
|
* Copyright (C) 2012 Samsung Electronics
|
2012-02-05 23:01:47 +00:00
|
|
|
*
|
2012-12-11 00:52:48 +00:00
|
|
|
* Configuration settings for the SAMSUNG EXYNOS5250 board.
|
2012-02-05 23:01:47 +00:00
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2012-02-05 23:01:47 +00:00
|
|
|
*/
|
|
|
|
|
2013-12-26 04:14:26 +00:00
|
|
|
#ifndef __CONFIG_5250_H
|
|
|
|
#define __CONFIG_5250_H
|
2012-02-05 23:01:47 +00:00
|
|
|
|
2013-12-26 04:14:26 +00:00
|
|
|
#include <configs/exynos5-dt.h>
|
2013-07-25 12:58:52 +00:00
|
|
|
#define CONFIG_EXYNOS5250
|
2012-02-05 23:01:47 +00:00
|
|
|
|
|
|
|
#define CONFIG_SYS_SDRAM_BASE 0x40000000
|
|
|
|
#define CONFIG_SYS_TEXT_BASE 0x43E00000
|
|
|
|
|
|
|
|
/* MACH_TYPE_SMDK5250 macro will be removed once added to mach-types */
|
|
|
|
#define MACH_TYPE_SMDK5250 3774
|
|
|
|
#define CONFIG_MACH_TYPE MACH_TYPE_SMDK5250
|
|
|
|
|
2012-05-14 05:52:05 +00:00
|
|
|
/* USB */
|
|
|
|
#define CONFIG_CMD_USB
|
2013-09-14 08:32:51 +00:00
|
|
|
#define CONFIG_USB_XHCI
|
|
|
|
#define CONFIG_USB_XHCI_EXYNOS
|
|
|
|
#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
|
2012-05-14 05:52:05 +00:00
|
|
|
#define CONFIG_USB_STORAGE
|
|
|
|
|
2013-01-28 00:39:59 +00:00
|
|
|
/* USB boot mode */
|
2013-07-04 06:59:17 +00:00
|
|
|
#define CONFIG_USB_BOOTING
|
2013-01-28 00:39:59 +00:00
|
|
|
#define EXYNOS_COPY_USB_FNPTR_ADDR 0x02020070
|
|
|
|
#define EXYNOS_USB_SECONDARY_BOOT 0xfeed0002
|
|
|
|
#define EXYNOS_IRAM_SECONDARY_BASE 0x02020018
|
|
|
|
|
2012-07-03 20:02:53 +00:00
|
|
|
#define CONFIG_SPL_TEXT_BASE 0x02023400
|
|
|
|
|
2012-02-05 23:01:47 +00:00
|
|
|
#define CONFIG_BOOTCOMMAND "mmc read 40007000 451 2000; bootm 40007000"
|
|
|
|
|
|
|
|
#define CONFIG_SYS_PROMPT "SMDK5250 # "
|
|
|
|
#define CONFIG_IDENT_STRING " for SMDK5250"
|
|
|
|
|
|
|
|
#define CONFIG_IRAM_STACK 0x02050000
|
|
|
|
|
2013-07-04 06:59:17 +00:00
|
|
|
#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
|
2012-02-05 23:01:47 +00:00
|
|
|
|
2012-08-24 00:39:24 +00:00
|
|
|
/* PMIC */
|
|
|
|
#define CONFIG_PMIC_MAX77686
|
|
|
|
|
2012-10-25 19:49:30 +00:00
|
|
|
/* Sound */
|
|
|
|
#define CONFIG_CMD_SOUND
|
|
|
|
#ifdef CONFIG_CMD_SOUND
|
|
|
|
#define CONFIG_SOUND
|
2014-02-27 20:26:20 +00:00
|
|
|
#define CONFIG_I2S_SAMSUNG
|
2012-10-25 19:49:30 +00:00
|
|
|
#define CONFIG_I2S
|
2013-02-14 19:46:16 +00:00
|
|
|
#define CONFIG_SOUND_MAX98095
|
2012-10-25 19:49:30 +00:00
|
|
|
#define CONFIG_SOUND_WM8994
|
|
|
|
#endif
|
|
|
|
|
2013-12-26 04:14:26 +00:00
|
|
|
/* I2C */
|
|
|
|
#define CONFIG_MAX_I2C_NUM 8
|
2012-12-05 14:46:45 +00:00
|
|
|
|
2013-01-08 20:42:26 +00:00
|
|
|
/* Display */
|
|
|
|
#define CONFIG_LCD
|
2013-01-10 21:06:10 +00:00
|
|
|
#ifdef CONFIG_LCD
|
2013-01-08 20:42:26 +00:00
|
|
|
#define CONFIG_EXYNOS_FB
|
|
|
|
#define CONFIG_EXYNOS_DP
|
|
|
|
#define LCD_XRES 2560
|
|
|
|
#define LCD_YRES 1600
|
|
|
|
#define LCD_BPP LCD_COLOR16
|
2013-01-10 21:06:10 +00:00
|
|
|
#endif
|
2013-12-26 04:14:26 +00:00
|
|
|
#endif /* __CONFIG_5250_H */
|