charon.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. #ifndef __CONFIG_CHARON_H
  30. #define __CONFIG_CHARON_H
  31. #define CONFIG_CHARON
  32. #define CONFIG_HOSTNAME charon
  33. #define CONFIG_SYS_GPS_PORT_CONFIG 0x81550414
  34. /* include common defines/options for TQM52xx boards */
  35. #include "TQM5200.h"
  36. /* defines special on charon board */
  37. #undef CONFIG_RTC_MPC5200
  38. #undef CONFIG_CMD_DATE
  39. #undef CUSTOM_ENV_SETTINGS
  40. #define CUSTOM_ENV_SETTINGS \
  41. "bootfile=/tftpboot/charon/uImage\0" \
  42. "fdt_file=/tftpboot/charon/charon.dtb\0" \
  43. "u-boot=/tftpboot/charon/u-boot.bin\0" \
  44. "mtdparts=" MTDPARTS_DEFAULT "\0" \
  45. "addmtd=setenv bootargs ${bootargs} ${mtdparts}\0"
  46. /* additional features on charon board */
  47. #define CONFIG_RESET_PHY_R
  48. /*
  49. * I2C configuration
  50. */
  51. #define CONFIG_I2C_MULTI_BUS
  52. #define CONFIG_SYS_TFP410_ADDR 0x38
  53. #define CONFIG_SYS_TFP410_BUS 0
  54. /*
  55. * FPGA configuration
  56. */
  57. #define CONFIG_SYS_CS3_START 0xE8000000
  58. #define CONFIG_SYS_CS3_SIZE 0x80000 /* 512 KByte */
  59. /*
  60. * CS3 Config Register Init:
  61. * CS3 Enabled
  62. * AddrBus: 8bits
  63. * DataBus: 4bytes
  64. * Multiplexed: Yes
  65. * MuxBank: 00
  66. */
  67. #define CONFIG_SYS_CS3_CFG 0x00009310
  68. #endif /* __CONFIG_CHARON_H */