e2220-1170.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * (C) Copyright 2013-2015
  3. * NVIDIA Corporation <www.nvidia.com>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef _E2220_1170_H
  8. #define _E2220_1170_H
  9. #include <linux/sizes.h>
  10. #include "tegra210-common.h"
  11. /* High-level configuration options */
  12. #define CONFIG_TEGRA_BOARD_STRING "NVIDIA E2220-1170"
  13. /* Board-specific serial config */
  14. #define CONFIG_TEGRA_ENABLE_UARTA
  15. /* I2C */
  16. #define CONFIG_SYS_I2C_TEGRA
  17. /* SD/MMC */
  18. #define CONFIG_GENERIC_MMC
  19. #define CONFIG_TEGRA_MMC
  20. /* Environment in eMMC, at the end of 2nd "boot sector" */
  21. #define CONFIG_ENV_IS_IN_MMC
  22. #define CONFIG_SYS_MMC_ENV_DEV 0
  23. #define CONFIG_SYS_MMC_ENV_PART 2
  24. #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
  25. /* SPI */
  26. #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
  27. #define CONFIG_SF_DEFAULT_SPEED 24000000
  28. #define CONFIG_SPI_FLASH_SIZE (4 << 20)
  29. /* USB2.0 Host support */
  30. #define CONFIG_USB_EHCI
  31. #define CONFIG_USB_EHCI_TEGRA
  32. /* USB networking support */
  33. #define CONFIG_USB_HOST_ETHER
  34. #define CONFIG_USB_ETHER_ASIX
  35. /* General networking support */
  36. #include "tegra-common-usb-gadget.h"
  37. #include "tegra-common-post.h"
  38. #endif /* _E2220_1170_H */