beaver.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
  4. */
  5. #ifndef __CONFIG_H
  6. #define __CONFIG_H
  7. #include <linux/sizes.h>
  8. #include "tegra30-common.h"
  9. /* VDD core PMIC */
  10. #define CONFIG_TEGRA_VDD_CORE_TPS62366A_SET1
  11. /* High-level configuration options */
  12. #define CONFIG_TEGRA_BOARD_STRING "NVIDIA Beaver"
  13. /* Board-specific serial config */
  14. #define CONFIG_TEGRA_ENABLE_UARTA
  15. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
  16. #define CONFIG_MACH_TYPE MACH_TYPE_BEAVER
  17. /* I2C */
  18. #define CONFIG_SYS_I2C_TEGRA
  19. /* Environment in eMMC, at the end of 2nd "boot sector" */
  20. #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
  21. #define CONFIG_SYS_MMC_ENV_DEV 0
  22. #define CONFIG_SYS_MMC_ENV_PART 2
  23. /* SPI */
  24. #define CONFIG_TEGRA_SLINK_CTRLS 6
  25. #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
  26. #define CONFIG_SF_DEFAULT_SPEED 24000000
  27. #define CONFIG_SPI_FLASH_SIZE (4 << 20)
  28. /* USB Host support */
  29. #define CONFIG_USB_EHCI_TEGRA
  30. /* USB networking support */
  31. /* PCI host support */
  32. /* General networking support */
  33. #include "tegra-common-usb-gadget.h"
  34. #include "tegra-common-post.h"
  35. #endif /* __CONFIG_H */