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