blob: f9ee40fa7eef1605c39647eabf55ce4d3afd37d8 [file] [log] [blame]
Chander Kashyap0d2f2772013-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
Simon Glass50dfd2c2014-10-07 22:01:48 -060012#include "exynos5250-common.h"
Chander Kashyap0d2f2772013-08-21 10:38:56 +053013
14/* SD/MMC configuration */
Chander Kashyap0d2f2772013-08-21 10:38:56 +053015#define CONFIG_SUPPORT_EMMC_BOOT
Chander Kashyap0d2f2772013-08-21 10:38:56 +053016
17/* allow to overwrite serial and ethaddr */
18#define CONFIG_ENV_OVERWRITE
19
Chander Kashyap0d2f2772013-08-21 10:38:56 +053020#define CONFIG_CMD_EXT2
Chander Kashyap0d2f2772013-08-21 10:38:56 +053021
22/* USB */
Chander Kashyap0d2f2772013-08-21 10:38:56 +053023#define CONFIG_USB_EHCI
24#define CONFIG_USB_EHCI_EXYNOS
Chander Kashyap0d2f2772013-08-21 10:38:56 +053025
Inderpal Singh3260bc82014-01-08 09:19:57 +053026#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3
27#define CONFIG_USB_HOST_ETHER
28#define CONFIG_USB_ETHER_ASIX
29
Chander Kashyap0d2f2772013-08-21 10:38:56 +053030/* MMC SPL */
Rajeshwari Birje5b475ae2013-12-26 09:44:24 +053031#define CONFIG_EXYNOS_SPL
Chander Kashyap0d2f2772013-08-21 10:38:56 +053032
33/* Miscellaneous configurable options */
Chander Kashyap0d2f2772013-08-21 10:38:56 +053034#define CONFIG_SYS_PROMPT "ARNDALE # "
Chander Kashyap0d2f2772013-08-21 10:38:56 +053035#define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0"
Chander Kashyap0d2f2772013-08-21 10:38:56 +053036
37#define CONFIG_NR_DRAM_BANKS 8
38#define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */
Chander Kashyap0d2f2772013-08-21 10:38:56 +053039
Chander Kashyap0d2f2772013-08-21 10:38:56 +053040#define CONFIG_IDENT_STRING " for ARNDALE"
41
Chander Kashyap0d2f2772013-08-21 10:38:56 +053042#define CONFIG_ENV_IS_IN_MMC
Chander Kashyap0d2f2772013-08-21 10:38:56 +053043#define CONFIG_ENV_OFFSET (CONFIG_BL2_OFFSET + CONFIG_BL2_SIZE)
44
Chander Kashyap0d2f2772013-08-21 10:38:56 +053045#define CONFIG_IRAM_STACK 0x02050000
46
47#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
48
Chander Kashyap0d2f2772013-08-21 10:38:56 +053049/* PMIC */
50#define CONFIG_PMIC
Simon Glass02229812014-05-20 06:01:34 -060051#define CONFIG_POWER_I2C
52#define CONFIG_POWER_MAX77686
Chander Kashyap0d2f2772013-08-21 10:38:56 +053053
Chander Kashyap0d2f2772013-08-21 10:38:56 +053054
Tushar Beherabcf23632014-06-10 14:54:18 +053055#define CONFIG_PREBOOT
56
Andre Przywara64d4c222014-08-01 13:35:44 +020057#define CONFIG_S5P_PA_SYSRAM 0x02020000
58#define CONFIG_SMP_PEN_ADDR CONFIG_S5P_PA_SYSRAM
59
60/* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */
61#define CONFIG_ARM_GIC_BASE_ADDRESS 0x10480000
62
63#define CONFIG_ARMV7_VIRT
64
Chander Kashyap0d2f2772013-08-21 10:38:56 +053065#endif /* __CONFIG_H */