mpc52xx: add support for tqm52xx based board charon
[oweals/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  * 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"                  \
50         "addmtd=setenv bootargs ${bootargs} ${mtdparts}\0"
51
52
53 /* additional features on charon board */
54 #define CONFIG_RESET_PHY_R
55
56 /*
57  * I2C configuration
58  */
59 #define CONFIG_I2C_MULTI_BUS
60
61 #define CONFIG_SYS_TFP410_ADDR  0x38
62 #define CONFIG_SYS_TFP410_BUS   0
63
64 /*
65  * FPGA configuration
66  */
67 #define CONFIG_SYS_CS3_START            0xE8000000
68 #define CONFIG_SYS_CS3_SIZE             0x80000 /* 512 KByte */
69
70 /*
71  * CS3 Config Register Init:
72  *      CS3 Enabled
73  *      AddrBus: 8bits
74  *      DataBus: 4bytes
75  *      Multiplexed: Yes
76  *      MuxBank: 00
77  */
78 #define CONFIG_SYS_CS3_CFG              0x00009310
79
80 #endif /* __CONFIG_CHARON_H */