blob: 9d391f1d74a2650b4d53ab5730e55aa7553866cd [file] [log] [blame]
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +09001/*
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 80000000
38
39#define CONFIG_SMC911X
40
41#define CONFIG_DDR_NUM_CH0 1
42#define CONFIG_DDR_NUM_CH1 1
43
44#define CONFIG_DDR_FREQ 1333
45
46/* #define CONFIG_DDR_STANDARD */
47
48/*
49 * Memory Size & Mapping
50 */
51/* Physical start address of SDRAM */
52#define CONFIG_SDRAM0_BASE 0x80000000
53#define CONFIG_SDRAM0_SIZE 0x10000000
54#define CONFIG_SDRAM1_BASE 0x90000000
55#define CONFIG_SDRAM1_SIZE 0x10000000
56
57#define CONFIG_SPL_TEXT_BASE 0x40000
58
59#include "uniphier-common.h"
60
61#endif /* __PH1_XXX_H */