p2371-2180.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * (C) Copyright 2013-2015
  3. * NVIDIA Corporation <www.nvidia.com>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef _P2371_2180_H
  8. #define _P2371_2180_H
  9. #include <linux/sizes.h>
  10. #include "tegra210-common.h"
  11. /* High-level configuration options */
  12. #define CONFIG_TEGRA_BOARD_STRING "NVIDIA P2371-2180"
  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. /* PCI host support */
  36. #define CONFIG_CMD_PCI
  37. /* General networking support */
  38. #include "tegra-common-usb-gadget.h"
  39. #include "tegra-common-post.h"
  40. /* Crystal is 38.4MHz. clk_m runs at half that rate */
  41. #define COUNTER_FREQUENCY 19200000
  42. #endif /* _P2371_2180_H */