blob: f29ceafb6b3d71ea18a2c837a031dc2bf25cd335 [file] [log] [blame]
Heiko Schocher1ae91442010-12-04 08:34:04 +01001/*
2 * (C) Copyright 2003-2005
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
5 * (C) Copyright 2004-2006
6 * Martin Krause, TQ-Systems GmbH, martin.krause@tqs.de
7 *
8 * (C) Copyright 2010
9 * Heiko Schocher, DENX Software Engineering, hs@denx.de.
10 *
11 * See file CREDITS for list of people who contributed to this
12 * project.
13 *
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License as
16 * published by the Free Software Foundation; either version 2 of
17 * the License, or (at your option) any later version.
18 *
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
27 * MA 02111-1307 USA
28 */
29
30#ifndef __CONFIG_CHARON_H
31#define __CONFIG_CHARON_H
32
33#define CONFIG_CHARON
34#define CONFIG_HOSTNAME charon
35
36#define CONFIG_SYS_GPS_PORT_CONFIG 0x81550414
37
38/* include common defines/options for TQM52xx boards */
39#include "TQM5200.h"
40
41/* defines special on charon board */
42#undef CONFIG_RTC_MPC5200
43#undef CONFIG_CMD_DATE
44
45#undef CUSTOM_ENV_SETTINGS
46#define CUSTOM_ENV_SETTINGS \
47 "bootfile=/tftpboot/charon/uImage\0" \
48 "fdt_file=/tftpboot/charon/charon.dtb\0" \
49 "u-boot=/tftpboot/charon/u-boot.bin\0" \
Heiko Schocher8e828162010-12-17 10:11:27 +010050 "mtdparts=" MTDPARTS_DEFAULT "\0" \
Heiko Schocher1ae91442010-12-04 08:34:04 +010051 "addmtd=setenv bootargs ${bootargs} ${mtdparts}\0"
52
53
54/* additional features on charon board */
55#define CONFIG_RESET_PHY_R
56
57/*
58 * I2C configuration
59 */
60#define CONFIG_I2C_MULTI_BUS
61
62#define CONFIG_SYS_TFP410_ADDR 0x38
63#define CONFIG_SYS_TFP410_BUS 0
64
65/*
66 * FPGA configuration
67 */
68#define CONFIG_SYS_CS3_START 0xE8000000
69#define CONFIG_SYS_CS3_SIZE 0x80000 /* 512 KByte */
70
71/*
72 * CS3 Config Register Init:
73 * CS3 Enabled
74 * AddrBus: 8bits
75 * DataBus: 4bytes
76 * Multiplexed: Yes
77 * MuxBank: 00
78 */
79#define CONFIG_SYS_CS3_CFG 0x00009310
80
81#endif /* __CONFIG_CHARON_H */