omap5_uevm.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2013
  4. * Texas Instruments Incorporated.
  5. * Sricharan R <r.sricharan@ti.com>
  6. *
  7. * Configuration settings for the TI EVM5430 board.
  8. * See ti_omap5_common.h for omap5 common settings.
  9. */
  10. #ifndef __CONFIG_OMAP5_EVM_H
  11. #define __CONFIG_OMAP5_EVM_H
  12. #include <environment/ti/dfu.h>
  13. #ifndef CONFIG_SPL_BUILD
  14. /* Define the default GPT table for eMMC */
  15. #define PARTS_DEFAULT \
  16. "uuid_disk=${uuid_gpt_disk};" \
  17. "name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}"
  18. #endif
  19. #define DFUARGS \
  20. "dfu_bufsiz=0x10000\0" \
  21. DFU_ALT_INFO_MMC \
  22. DFU_ALT_INFO_EMMC \
  23. DFU_ALT_INFO_RAM
  24. #include <configs/ti_omap5_common.h>
  25. #define CONFIG_SYS_NS16550_COM3 UART3_BASE
  26. #define CONFIG_MISC_INIT_R
  27. /* MMC ENV related defines */
  28. #define CONFIG_SYS_MMC_ENV_DEV 1 /* SLOT2: eMMC(1) */
  29. #define CONFIG_ENV_SIZE (128 << 10)
  30. #define CONFIG_ENV_OFFSET 0x260000
  31. #define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
  32. #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
  33. /* Enhance our eMMC support / experience. */
  34. #define CONFIG_HSMMC2_8BIT
  35. #define CONFIG_SUPPORT_EMMC_BOOT
  36. /* Required support for the TCA642X GPIO we have on the uEVM */
  37. #define CONFIG_TCA642X
  38. #define CONFIG_SYS_I2C_TCA642X_BUS_NUM 4
  39. #define CONFIG_SYS_I2C_TCA642X_ADDR 0x22
  40. /* USB UHH support options */
  41. #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
  42. #define CONFIG_OMAP_EHCI_PHY2_RESET_GPIO 80
  43. #define CONFIG_OMAP_EHCI_PHY3_RESET_GPIO 79
  44. /* Enabled commands */
  45. /* USB Networking options */
  46. #define CONSOLEDEV "ttyO2"
  47. #define CONFIG_SCSI_AHCI_PLAT
  48. #define CONFIG_SYS_SCSI_MAX_SCSI_ID 1
  49. #define CONFIG_SYS_SCSI_MAX_LUN 1
  50. #define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \
  51. CONFIG_SYS_SCSI_MAX_LUN)
  52. #endif /* __CONFIG_OMAP5_EVM_H */