jetson-tk1.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. /* enable PMIC */
  11. #define CONFIG_AS3722_POWER
  12. #include "tegra124-common.h"
  13. /* High-level configuration options */
  14. #define CONFIG_TEGRA_BOARD_STRING "NVIDIA Jetson TK1"
  15. /* Board-specific serial config */
  16. #define CONFIG_TEGRA_ENABLE_UARTD
  17. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
  18. /* I2C */
  19. #define CONFIG_SYS_I2C_TEGRA
  20. /* SD/MMC */
  21. #define CONFIG_GENERIC_MMC
  22. #define CONFIG_TEGRA_MMC
  23. /* Environment in eMMC, at the end of 2nd "boot sector" */
  24. #define CONFIG_ENV_IS_IN_MMC
  25. #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
  26. #define CONFIG_SYS_MMC_ENV_DEV 0
  27. #define CONFIG_SYS_MMC_ENV_PART 2
  28. /* SPI */
  29. #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
  30. #define CONFIG_SF_DEFAULT_SPEED 24000000
  31. #define CONFIG_SPI_FLASH_SIZE (4 << 20)
  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-usb-gadget.h"
  42. #include "tegra-common-post.h"
  43. /* Reserve top 1M for secure RAM */
  44. #define CONFIG_ARMV7_SECURE_BASE 0xfff00000
  45. #define CONFIG_ARMV7_SECURE_RESERVE_SIZE 0x00100000
  46. #endif /* __CONFIG_H */