beaver.h 1.4 KB

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