blob: d68993bb1f7301c1384caaed9185524f7a2e3ea6 [file] [log] [blame]
Chander Kashyapa2ac68f2013-08-21 10:38:56 +05301/*
2 * Copyright (C) 2013 Samsung Electronics
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 *
6 * Configuration settings for the SAMSUNG Arndale board.
7 */
8
9#ifndef __CONFIG_ARNDALE_H
10#define __CONFIG_ARNDALE_H
11
Ian Campbelle6825e02014-11-09 10:44:32 +000012#define EXYNOS_FDTFILE_SETTING \
13 "fdtfile=exynos5250-arndale.dtb\0"
14
Simon Glassf94de732014-10-07 22:01:48 -060015#include "exynos5250-common.h"
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053016
17/* SD/MMC configuration */
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053018#define CONFIG_SUPPORT_EMMC_BOOT
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053019
20/* allow to overwrite serial and ethaddr */
21#define CONFIG_ENV_OVERWRITE
22
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053023/* USB */
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053024#define CONFIG_USB_EHCI
25#define CONFIG_USB_EHCI_EXYNOS
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053026
Inderpal Singh7da76512014-01-08 09:19:57 +053027#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3
28#define CONFIG_USB_HOST_ETHER
29#define CONFIG_USB_ETHER_ASIX
Rene Griessledd88902014-11-07 16:53:49 +010030#define CONFIG_USB_ETHER_ASIX88179
Inderpal Singh7da76512014-01-08 09:19:57 +053031
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053032/* MMC SPL */
Rajeshwari Birjee106bd92013-12-26 09:44:24 +053033#define CONFIG_EXYNOS_SPL
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053034
35/* Miscellaneous configurable options */
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053036#define CONFIG_SYS_PROMPT "ARNDALE # "
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053037#define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0"
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053038
39#define CONFIG_NR_DRAM_BANKS 8
40#define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053041
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053042#define CONFIG_IDENT_STRING " for ARNDALE"
43
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053044#define CONFIG_ENV_IS_IN_MMC
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053045#define CONFIG_ENV_OFFSET (CONFIG_BL2_OFFSET + CONFIG_BL2_SIZE)
46
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053047#define CONFIG_IRAM_STACK 0x02050000
48
49#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
50
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053051/* PMIC */
52#define CONFIG_PMIC
Simon Glass913702c2014-05-20 06:01:34 -060053#define CONFIG_POWER_I2C
54#define CONFIG_POWER_MAX77686
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053055
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053056
Tushar Beheraf8caed32014-06-10 14:54:18 +053057#define CONFIG_PREBOOT
58
Andre Przywarafafbc6c2014-08-01 13:35:44 +020059#define CONFIG_S5P_PA_SYSRAM 0x02020000
60#define CONFIG_SMP_PEN_ADDR CONFIG_S5P_PA_SYSRAM
61
62/* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */
63#define CONFIG_ARM_GIC_BASE_ADDRESS 0x10480000
64
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053065#endif /* __CONFIG_H */