seaboard.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. * (C) Copyright 2010,2011
  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. /* LP0 suspend / resume */
  11. #define CONFIG_TEGRA_LP0
  12. #define CONFIG_AES
  13. #define CONFIG_TEGRA_PMU
  14. #define CONFIG_TPS6586X_POWER
  15. #define CONFIG_TEGRA_CLOCK_SCALING
  16. #include "tegra20-common.h"
  17. /* High-level configuration options */
  18. #define V_PROMPT "Tegra20 (SeaBoard) # "
  19. #define CONFIG_TEGRA_BOARD_STRING "NVIDIA Seaboard"
  20. /* Board-specific serial config */
  21. #define CONFIG_TEGRA_ENABLE_UARTD
  22. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
  23. /* On Seaboard: GPIO_PI3 = Port I = 8, bit = 3 */
  24. #define CONFIG_UART_DISABLE_GPIO GPIO_PI3
  25. #define CONFIG_MACH_TYPE MACH_TYPE_SEABOARD
  26. /* I2C */
  27. #define CONFIG_SYS_I2C_TEGRA
  28. #define CONFIG_CMD_I2C
  29. /* SD/MMC */
  30. #define CONFIG_MMC
  31. #define CONFIG_GENERIC_MMC
  32. #define CONFIG_TEGRA_MMC
  33. #define CONFIG_CMD_MMC
  34. /* Environment in eMMC, at the end of 2nd "boot sector" */
  35. #define CONFIG_ENV_IS_IN_MMC
  36. #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
  37. #define CONFIG_SYS_MMC_ENV_DEV 0
  38. #define CONFIG_SYS_MMC_ENV_PART 2
  39. /* USB Host support */
  40. #define CONFIG_USB_MAX_CONTROLLER_COUNT 3
  41. #define CONFIG_USB_EHCI
  42. #define CONFIG_USB_EHCI_TEGRA
  43. #define CONFIG_USB_STORAGE
  44. #define CONFIG_CMD_USB
  45. /* USB networking support */
  46. #define CONFIG_USB_HOST_ETHER
  47. #define CONFIG_USB_ETHER_ASIX
  48. /* General networking support */
  49. #define CONFIG_CMD_NET
  50. #define CONFIG_CMD_DHCP
  51. /* Enable keyboard */
  52. #define CONFIG_TEGRA_KEYBOARD
  53. #define CONFIG_KEYBOARD
  54. /* USB keyboard */
  55. #define CONFIG_USB_KEYBOARD
  56. /* LCD support */
  57. #define CONFIG_LCD
  58. #define CONFIG_PWM_TEGRA
  59. #define CONFIG_VIDEO_TEGRA
  60. #define LCD_BPP LCD_COLOR16
  61. #define CONFIG_SYS_WHITE_ON_BLACK
  62. #define CONFIG_CONSOLE_SCROLL_LINES 10
  63. /* NAND support */
  64. #define CONFIG_CMD_NAND
  65. #define CONFIG_TEGRA_NAND
  66. /* Max number of NAND devices */
  67. #define CONFIG_SYS_MAX_NAND_DEVICE 1
  68. #include "tegra-common-post.h"
  69. #endif /* __CONFIG_H */