Masahiro Yamada | 5894ca0 | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012-2014 Panasonic Corporation |
| 3 | * Author: Masahiro Yamada <yamada.m@jp.panasonic.com> |
| 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0+ |
| 6 | */ |
| 7 | |
| 8 | #ifndef __PH1_XXX_H |
| 9 | #define __PH1_XXX_H |
| 10 | |
| 11 | /* |
| 12 | * Support Card Select |
| 13 | * |
| 14 | * CONFIG_PFC_MICRO_SUPPORT_CARD - Original Micro Support Card made by PFC. |
| 15 | * CONFIG_DCC_MICRO_SUPPORT_CARD - DCC version Micro Support Card. |
| 16 | * CPLD is re-programmed for ARIMA board compatibility. |
| 17 | * No define - No support card. |
| 18 | */ |
| 19 | |
| 20 | #if 0 |
| 21 | #define CONFIG_PFC_MICRO_SUPPORT_CARD |
| 22 | #else |
| 23 | #define CONFIG_DCC_MICRO_SUPPORT_CARD |
| 24 | #endif |
| 25 | |
| 26 | /* |
| 27 | * Serial Configuration |
| 28 | * SoC UART : enable CONFIG_UNIPHIER_SERIAL |
| 29 | * On-board UART: enable CONFIG_SYS_NS16550_SERIAL |
| 30 | */ |
Masahiro Yamada | ff247b7 | 2014-10-23 22:26:11 +0900 | [diff] [blame] | 31 | #if 0 |
Masahiro Yamada | 5894ca0 | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 32 | #define CONFIG_SYS_NS16550_SERIAL |
| 33 | #endif |
| 34 | |
Masahiro Yamada | 5894ca0 | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 35 | #define CONFIG_SMC911X |
| 36 | |
| 37 | #define CONFIG_DDR_NUM_CH0 2 |
| 38 | #define CONFIG_DDR_NUM_CH1 2 |
| 39 | |
| 40 | #define CONFIG_DDR_FREQ 1600 |
| 41 | |
| 42 | #define CONFIG_UNIPHIER_SMP |
| 43 | |
| 44 | /* |
| 45 | * Memory Size & Mapping |
| 46 | */ |
| 47 | /* Physical start address of SDRAM */ |
| 48 | #define CONFIG_SDRAM0_BASE 0x80000000 |
| 49 | #define CONFIG_SDRAM0_SIZE 0x20000000 |
| 50 | #define CONFIG_SDRAM1_BASE 0xa0000000 |
| 51 | #define CONFIG_SDRAM1_SIZE 0x20000000 |
| 52 | |
| 53 | #define CONFIG_SPL_TEXT_BASE 0x100000 |
| 54 | |
| 55 | #include "uniphier-common.h" |
| 56 | |
| 57 | #endif /* __PH1_XXX_H */ |