venice2.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * (C) Copyright 2013-2014
  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 "tegra124-common.h"
  11. /* High-level configuration options */
  12. #define CONFIG_TEGRA_BOARD_STRING "NVIDIA Venice2"
  13. /* Board-specific serial config */
  14. #define CONFIG_TEGRA_ENABLE_UARTA
  15. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
  16. /* I2C */
  17. #define CONFIG_SYS_I2C_TEGRA
  18. /* SD/MMC */
  19. #define CONFIG_GENERIC_MMC
  20. #define CONFIG_TEGRA_MMC
  21. /* Environment in eMMC, at the end of 2nd "boot sector" */
  22. #define CONFIG_ENV_IS_IN_MMC
  23. #define CONFIG_SYS_MMC_ENV_DEV 0
  24. #define CONFIG_SYS_MMC_ENV_PART 2
  25. #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
  26. /* SPI */
  27. #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
  28. #define CONFIG_SF_DEFAULT_SPEED 24000000
  29. #define CONFIG_SPI_FLASH_SIZE (4 << 20)
  30. /* USB Host support */
  31. #define CONFIG_USB_EHCI
  32. #define CONFIG_USB_EHCI_TEGRA
  33. /* USB networking support */
  34. #define CONFIG_USB_HOST_ETHER
  35. #define CONFIG_USB_ETHER_ASIX
  36. /* General networking support */
  37. #include "tegra-common-usb-gadget.h"
  38. #include "tegra-common-post.h"
  39. #endif /* __CONFIG_H */