nyan-big.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2014
  4. * NVIDIA Corporation <www.nvidia.com>
  5. */
  6. #ifndef __CONFIG_H
  7. #define __CONFIG_H
  8. #include <linux/sizes.h>
  9. #include "tegra124-common.h"
  10. /* High-level configuration options */
  11. #define CONFIG_TEGRA_BOARD_STRING "Google/NVIDIA Nyan-big"
  12. /* Board-specific serial config */
  13. #define CONFIG_TEGRA_ENABLE_UARTA
  14. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
  15. /* I2C */
  16. #define CONFIG_SYS_I2C_TEGRA
  17. /* Environment in eMMC, at the end of 2nd "boot sector" */
  18. #define CONFIG_SYS_MMC_ENV_DEV 0
  19. #define CONFIG_SYS_MMC_ENV_PART 2
  20. #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
  21. /* Align LCD to 1MB boundary */
  22. #define CONFIG_LCD_ALIGNMENT MMU_SECTION_SIZE
  23. /* SPI */
  24. #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
  25. #define CONFIG_SF_DEFAULT_SPEED 24000000
  26. #define CONFIG_SPI_FLASH_SIZE (4 << 20)
  27. /* USB Host support */
  28. #define CONFIG_USB_EHCI_TEGRA
  29. /* USB networking support */
  30. /* General networking support */
  31. #define CONFIG_KEYBOARD
  32. #undef CONFIG_LOADADDR
  33. #define CONFIG_LOADADDR 0x82408000
  34. #include "tegra-common-usb-gadget.h"
  35. #include "tegra-common-post.h"
  36. #endif /* __CONFIG_H */