trimslice.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * (C) Copyright 2010-2012
  3. * NVIDIA Corporation <www.nvidia.com>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef __CONFIG_H
  8. #define __CONFIG_H
  9. #include <linux/sizes.h>
  10. #include "tegra20-common.h"
  11. /* High-level configuration options */
  12. #define CONFIG_TEGRA_BOARD_STRING "Compulab Trimslice"
  13. /* Board-specific serial config */
  14. #define CONFIG_TEGRA_ENABLE_UARTA
  15. #define CONFIG_TEGRA_UARTA_GPU
  16. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
  17. #define CONFIG_MACH_TYPE MACH_TYPE_TRIMSLICE
  18. /* SPI */
  19. #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
  20. /* I2C */
  21. #define CONFIG_SYS_I2C_TEGRA
  22. /* SD/MMC */
  23. #define CONFIG_GENERIC_MMC
  24. #define CONFIG_TEGRA_MMC
  25. /* Environment in SPI */
  26. #define CONFIG_ENV_IS_IN_SPI_FLASH
  27. #define CONFIG_ENV_SPI_MAX_HZ 48000000
  28. #define CONFIG_ENV_SPI_MODE SPI_MODE_0
  29. #define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE
  30. /* 1MiB flash, environment located as high as possible */
  31. #define CONFIG_ENV_OFFSET (SZ_1M - CONFIG_ENV_SIZE)
  32. /* USB Host support */
  33. #define CONFIG_USB_EHCI
  34. #define CONFIG_USB_EHCI_TEGRA
  35. /* USB networking support */
  36. #define CONFIG_USB_HOST_ETHER
  37. #define CONFIG_USB_ETHER_ASIX
  38. /* PCI host support */
  39. #define CONFIG_CMD_PCI
  40. /* General networking support */
  41. #include "tegra-common-post.h"
  42. #endif /* __CONFIG_H */