charon.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. #ifndef __CONFIG_CHARON_H
  14. #define __CONFIG_CHARON_H
  15. #define CONFIG_CHARON
  16. #define CONFIG_HOSTNAME charon
  17. #define CONFIG_SYS_GPS_PORT_CONFIG 0x81550414
  18. /* include common defines/options for TQM52xx boards */
  19. #include "TQM5200.h"
  20. /* defines special on charon board */
  21. #undef CONFIG_RTC_MPC5200
  22. #undef CONFIG_CMD_DATE
  23. #undef CUSTOM_ENV_SETTINGS
  24. #define CUSTOM_ENV_SETTINGS \
  25. "bootfile=/tftpboot/charon/uImage\0" \
  26. "fdt_file=/tftpboot/charon/charon.dtb\0" \
  27. "u-boot=/tftpboot/charon/u-boot.bin\0" \
  28. "mtdparts=" MTDPARTS_DEFAULT "\0" \
  29. "addmtd=setenv bootargs ${bootargs} ${mtdparts}\0"
  30. /* additional features on charon board */
  31. #define CONFIG_RESET_PHY_R
  32. /*
  33. * I2C configuration
  34. */
  35. #define CONFIG_I2C_MULTI_BUS
  36. #define CONFIG_SYS_TFP410_ADDR 0x38
  37. #define CONFIG_SYS_TFP410_BUS 0
  38. /*
  39. * FPGA configuration
  40. */
  41. #define CONFIG_SYS_CS3_START 0xE8000000
  42. #define CONFIG_SYS_CS3_SIZE 0x80000 /* 512 KByte */
  43. /*
  44. * CS3 Config Register Init:
  45. * CS3 Enabled
  46. * AddrBus: 8bits
  47. * DataBus: 4bytes
  48. * Multiplexed: Yes
  49. * MuxBank: 00
  50. */
  51. #define CONFIG_SYS_CS3_CFG 0x00009310
  52. #endif /* __CONFIG_CHARON_H */