cmd: add Kconfig option for 'date' command
[platform/kernel/u-boot.git] / include / configs / charon.h
1 /*
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  * SPDX-License-Identifier:     GPL-2.0+
12  */
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
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"                  \
33         "mtdparts=" MTDPARTS_DEFAULT "\0"                       \
34         "addmtd=setenv bootargs ${bootargs} ${mtdparts}\0"
35
36 /* 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 */