omap5_uevm.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. /* MMC ENV related defines */
  27. #define CONFIG_SYS_MMC_ENV_DEV 1 /* SLOT2: eMMC(1) */
  28. /* Enhance our eMMC support / experience. */
  29. #define CONFIG_HSMMC2_8BIT
  30. /* Required support for the TCA642X GPIO we have on the uEVM */
  31. #define CONFIG_TCA642X
  32. #define CONFIG_SYS_I2C_TCA642X_BUS_NUM 4
  33. #define CONFIG_SYS_I2C_TCA642X_ADDR 0x22
  34. /* USB UHH support options */
  35. #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
  36. #define CONFIG_OMAP_EHCI_PHY2_RESET_GPIO 80
  37. #define CONFIG_OMAP_EHCI_PHY3_RESET_GPIO 79
  38. /* Enabled commands */
  39. /* USB Networking options */
  40. #define CONSOLEDEV "ttyS2"
  41. #define CONFIG_SCSI_AHCI_PLAT
  42. #define CONFIG_SYS_SCSI_MAX_SCSI_ID 1
  43. #define CONFIG_SYS_SCSI_MAX_LUN 1
  44. #define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \
  45. CONFIG_SYS_SCSI_MAX_LUN)
  46. #endif /* __CONFIG_OMAP5_EVM_H */