dalmore.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * Copyright (c) 2010-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 "tegra114-common.h"
  10. /* High-level configuration options */
  11. #define CONFIG_TEGRA_BOARD_STRING "NVIDIA Dalmore"
  12. /* Board-specific serial config */
  13. #define CONFIG_TEGRA_ENABLE_UARTD
  14. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
  15. #define CONFIG_MACH_TYPE MACH_TYPE_DALMORE
  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. #define MACH_TYPE_DALMORE 4304 /* not yet in mach-types.h */
  27. /* SPI */
  28. #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
  29. #define CONFIG_SF_DEFAULT_SPEED 24000000
  30. #define CONFIG_SPI_FLASH_SIZE (4 << 20)
  31. /* USB Host support */
  32. #define CONFIG_USB_EHCI
  33. #define CONFIG_USB_EHCI_TEGRA
  34. /* USB networking support */
  35. #define CONFIG_USB_HOST_ETHER
  36. #define CONFIG_USB_ETHER_ASIX
  37. /* General networking support */
  38. #include "tegra-common-usb-gadget.h"
  39. #include "tegra-common-post.h"
  40. #endif /* __CONFIG_H */