blob: 578c1082283e203494a977b23a8e824d3207fe12 [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 *
Wolfgang Denkbd8ec7e2013-10-07 13:07:26 +020011 * SPDX-License-Identifier: GPL-2.0+
Heiko Schocher1ae91442010-12-04 08:34:04 +010012 */
13
14#ifndef __CONFIG_CHARON_H
15#define __CONFIG_CHARON_H
16
17#define CONFIG_CHARON
18#define CONFIG_HOSTNAME charon
19
20#define CONFIG_SYS_GPS_PORT_CONFIG 0x81550414
21
22/* include common defines/options for TQM52xx boards */
23#include "TQM5200.h"
24
25/* defines special on charon board */
26#undef CONFIG_RTC_MPC5200
27#undef CONFIG_CMD_DATE
28
29#undef CUSTOM_ENV_SETTINGS
30#define CUSTOM_ENV_SETTINGS \
31 "bootfile=/tftpboot/charon/uImage\0" \
32 "fdt_file=/tftpboot/charon/charon.dtb\0" \
33 "u-boot=/tftpboot/charon/u-boot.bin\0" \
Heiko Schocher8e828162010-12-17 10:11:27 +010034 "mtdparts=" MTDPARTS_DEFAULT "\0" \
Heiko Schocher1ae91442010-12-04 08:34:04 +010035 "addmtd=setenv bootargs ${bootargs} ${mtdparts}\0"
36
Heiko Schocher1ae91442010-12-04 08:34:04 +010037/* additional features on charon board */
38#define CONFIG_RESET_PHY_R
39
40/*
41 * I2C configuration
42 */
43#define CONFIG_I2C_MULTI_BUS
44
45#define CONFIG_SYS_TFP410_ADDR 0x38
46#define CONFIG_SYS_TFP410_BUS 0
47
48/*
49 * FPGA configuration
50 */
51#define CONFIG_SYS_CS3_START 0xE8000000
52#define CONFIG_SYS_CS3_SIZE 0x80000 /* 512 KByte */
53
54/*
55 * CS3 Config Register Init:
56 * CS3 Enabled
57 * AddrBus: 8bits
58 * DataBus: 4bytes
59 * Multiplexed: Yes
60 * MuxBank: 00
61 */
62#define CONFIG_SYS_CS3_CFG 0x00009310
63
64#endif /* __CONFIG_CHARON_H */