blob: 2f537e0d4ba30b08fcc281edb9e31051b229f995 [file] [log] [blame]
Heiko Schocher98e69562010-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 Denk3765b3e2013-10-07 13:07:26 +020011 * SPDX-License-Identifier: GPL-2.0+
Heiko Schocher98e69562010-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 Schocher5624d662010-12-17 10:11:27 +010034 "mtdparts=" MTDPARTS_DEFAULT "\0" \
Heiko Schocher98e69562010-12-04 08:34:04 +010035 "addmtd=setenv bootargs ${bootargs} ${mtdparts}\0"
36
37
38/* additional features on charon board */
39#define CONFIG_RESET_PHY_R
40
41/*
42 * I2C configuration
43 */
44#define CONFIG_I2C_MULTI_BUS
45
46#define CONFIG_SYS_TFP410_ADDR 0x38
47#define CONFIG_SYS_TFP410_BUS 0
48
49/*
50 * FPGA configuration
51 */
52#define CONFIG_SYS_CS3_START 0xE8000000
53#define CONFIG_SYS_CS3_SIZE 0x80000 /* 512 KByte */
54
55/*
56 * CS3 Config Register Init:
57 * CS3 Enabled
58 * AddrBus: 8bits
59 * DataBus: 4bytes
60 * Multiplexed: Yes
61 * MuxBank: 00
62 */
63#define CONFIG_SYS_CS3_CFG 0x00009310
64
65#endif /* __CONFIG_CHARON_H */