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