Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 1 | /* |
| 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 Glass | f94de73 | 2014-10-07 22:01:48 -0600 | [diff] [blame] | 12 | #include "exynos5250-common.h" |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 13 | |
| 14 | /* SD/MMC configuration */ |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 15 | #define CONFIG_SUPPORT_EMMC_BOOT |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 16 | |
| 17 | /* allow to overwrite serial and ethaddr */ |
| 18 | #define CONFIG_ENV_OVERWRITE |
| 19 | |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 20 | #define CONFIG_CMD_EXT2 |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 21 | |
| 22 | /* USB */ |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 23 | #define CONFIG_USB_EHCI |
| 24 | #define CONFIG_USB_EHCI_EXYNOS |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 25 | |
Inderpal Singh | 7da7651 | 2014-01-08 09:19:57 +0530 | [diff] [blame] | 26 | #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3 |
| 27 | #define CONFIG_USB_HOST_ETHER |
| 28 | #define CONFIG_USB_ETHER_ASIX |
| 29 | |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 30 | /* MMC SPL */ |
Rajeshwari Birje | e106bd9 | 2013-12-26 09:44:24 +0530 | [diff] [blame] | 31 | #define CONFIG_EXYNOS_SPL |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 32 | |
| 33 | /* Miscellaneous configurable options */ |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 34 | #define CONFIG_SYS_PROMPT "ARNDALE # " |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 35 | #define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0" |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 36 | |
| 37 | #define CONFIG_NR_DRAM_BANKS 8 |
| 38 | #define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */ |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 39 | |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 40 | #define CONFIG_IDENT_STRING " for ARNDALE" |
| 41 | |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 42 | #define CONFIG_ENV_IS_IN_MMC |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 43 | #define CONFIG_ENV_OFFSET (CONFIG_BL2_OFFSET + CONFIG_BL2_SIZE) |
| 44 | |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 45 | #define CONFIG_IRAM_STACK 0x02050000 |
| 46 | |
| 47 | #define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK |
| 48 | |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 49 | /* PMIC */ |
| 50 | #define CONFIG_PMIC |
Simon Glass | 913702c | 2014-05-20 06:01:34 -0600 | [diff] [blame] | 51 | #define CONFIG_POWER_I2C |
| 52 | #define CONFIG_POWER_MAX77686 |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 53 | |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 54 | |
Tushar Behera | f8caed3 | 2014-06-10 14:54:18 +0530 | [diff] [blame] | 55 | #define CONFIG_PREBOOT |
| 56 | |
Andre Przywara | fafbc6c | 2014-08-01 13:35:44 +0200 | [diff] [blame] | 57 | #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 Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 65 | #endif /* __CONFIG_H */ |