ti_armv7_omap.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * ti_armv7_omap.h
  3. *
  4. * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
  5. *
  6. * SPDX-License-Identifier: GPL-2.0+
  7. *
  8. * The various ARMv7 SoCs from TI all share a number of IP blocks when
  9. * implementing a given feature. This is meant to isolate the features
  10. * that are based on OMAP architecture.
  11. */
  12. #ifndef __CONFIG_TI_ARMV7_OMAP_H__
  13. #define __CONFIG_TI_ARMV7_OMAP_H__
  14. /* Common defines for all OMAP architecture based SoCs */
  15. #define CONFIG_OMAP
  16. /* I2C IP block */
  17. #define CONFIG_SYS_OMAP24_I2C_SPEED 100000
  18. #define CONFIG_SYS_OMAP24_I2C_SLAVE 1
  19. #define CONFIG_SYS_I2C_OMAP24XX
  20. /* MMC/SD IP block */
  21. #define CONFIG_OMAP_HSMMC
  22. /* SPI IP Block */
  23. #define CONFIG_OMAP3_SPI
  24. /* GPIO block */
  25. #define CONFIG_OMAP_GPIO
  26. /*
  27. * GPMC NAND block. We support 1 device and the physical address to
  28. * access CS0 at is 0x8000000.
  29. */
  30. #ifdef CONFIG_NAND
  31. #define CONFIG_NAND_OMAP_GPMC
  32. #ifndef CONFIG_SYS_NAND_BASE
  33. #define CONFIG_SYS_NAND_BASE 0x8000000
  34. #endif
  35. #define CONFIG_SYS_MAX_NAND_DEVICE 1
  36. #define CONFIG_CMD_NAND
  37. #endif
  38. /* Now for the remaining common defines */
  39. #include <configs/ti_armv7_common.h>
  40. #endif /* __CONFIG_TI_ARMV7_OMAP_H__ */