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 | */ |
| 31 | #if 1 |
| 32 | #define CONFIG_UNIPHIER_SERIAL |
| 33 | #else |
| 34 | #define CONFIG_SYS_NS16550_SERIAL |
| 35 | #endif |
| 36 | |
| 37 | #define CONFIG_SYS_UNIPHIER_UART_CLK 73728000 |
| 38 | |
| 39 | #define CONFIG_SMC911X |
| 40 | |
| 41 | #define CONFIG_DDR_NUM_CH0 2 |
| 42 | #define CONFIG_DDR_NUM_CH1 2 |
| 43 | |
| 44 | #define CONFIG_DDR_FREQ 1600 |
| 45 | |
| 46 | #define CONFIG_UNIPHIER_SMP |
| 47 | |
| 48 | /* |
| 49 | * Memory Size & Mapping |
| 50 | */ |
| 51 | /* Physical start address of SDRAM */ |
| 52 | #define CONFIG_SDRAM0_BASE 0x80000000 |
| 53 | #define CONFIG_SDRAM0_SIZE 0x20000000 |
| 54 | #define CONFIG_SDRAM1_BASE 0xa0000000 |
| 55 | #define CONFIG_SDRAM1_SIZE 0x20000000 |
| 56 | |
| 57 | #define CONFIG_SPL_TEXT_BASE 0x100000 |
| 58 | |
| 59 | #include "uniphier-common.h" |
| 60 | |
| 61 | #endif /* __PH1_XXX_H */ |