blob: 913b707a5f8d1bd0a510b287ba6c9702d5aa1c64 [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
Heiko Schocher98e69562010-12-04 08:34:04 +010027
28#undef CUSTOM_ENV_SETTINGS
29#define CUSTOM_ENV_SETTINGS \
30 "bootfile=/tftpboot/charon/uImage\0" \
31 "fdt_file=/tftpboot/charon/charon.dtb\0" \
32 "u-boot=/tftpboot/charon/u-boot.bin\0" \
Heiko Schocher5624d662010-12-17 10:11:27 +010033 "mtdparts=" MTDPARTS_DEFAULT "\0" \
Heiko Schocher98e69562010-12-04 08:34:04 +010034 "addmtd=setenv bootargs ${bootargs} ${mtdparts}\0"
35
Heiko Schocher98e69562010-12-04 08:34:04 +010036/* additional features on charon board */
37#define CONFIG_RESET_PHY_R
38
39/*
40 * I2C configuration
41 */
42#define CONFIG_I2C_MULTI_BUS
43
44#define CONFIG_SYS_TFP410_ADDR 0x38
45#define CONFIG_SYS_TFP410_BUS 0
46
47/*
48 * FPGA configuration
49 */
50#define CONFIG_SYS_CS3_START 0xE8000000
51#define CONFIG_SYS_CS3_SIZE 0x80000 /* 512 KByte */
52
53/*
54 * CS3 Config Register Init:
55 * CS3 Enabled
56 * AddrBus: 8bits
57 * DataBus: 4bytes
58 * Multiplexed: Yes
59 * MuxBank: 00
60 */
61#define CONFIG_SYS_CS3_CFG 0x00009310
62
63#endif /* __CONFIG_CHARON_H */