]>
Commit | Line | Data |
---|---|---|
98e69567 HS |
1 | /* |
2 | * (C) Copyright 2003-2005 | |
3 | * Wolfgang Denk, DENX Software Engineering, [email protected]. | |
4 | * | |
5 | * (C) Copyright 2004-2006 | |
6 | * Martin Krause, TQ-Systems GmbH, [email protected] | |
7 | * | |
8 | * (C) Copyright 2010 | |
9 | * Heiko Schocher, DENX Software Engineering, [email protected]. | |
10 | * | |
3765b3e7 | 11 | * SPDX-License-Identifier: GPL-2.0+ |
98e69567 HS |
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 | #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" \ | |
5624d66a | 34 | "mtdparts=" MTDPARTS_DEFAULT "\0" \ |
98e69567 HS |
35 | "addmtd=setenv bootargs ${bootargs} ${mtdparts}\0" |
36 | ||
98e69567 HS |
37 | /* 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 */ |