p2771-0000.h 777 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Copyright (c) 2013-2016, NVIDIA CORPORATION.
  3. *
  4. * SPDX-License-Identifier: GPL-2.0
  5. */
  6. #ifndef _P2771_0000_H
  7. #define _P2771_0000_H
  8. #include <linux/sizes.h>
  9. #include "tegra186-common.h"
  10. /* High-level configuration options */
  11. #define CONFIG_TEGRA_BOARD_STRING "NVIDIA P2771-0000"
  12. /* I2C */
  13. #define CONFIG_SYS_I2C_TEGRA
  14. /* SD/MMC */
  15. #define CONFIG_GENERIC_MMC
  16. #define CONFIG_TEGRA_MMC
  17. /* Environment in eMMC, at the end of 2nd "boot sector" */
  18. #define CONFIG_ENV_IS_IN_MMC
  19. #define CONFIG_SYS_MMC_ENV_DEV 0
  20. #define CONFIG_SYS_MMC_ENV_PART 2
  21. #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
  22. /* PCI host support */
  23. #define CONFIG_CMD_PCI
  24. #include "tegra-common-post.h"
  25. /* Crystal is 38.4MHz. clk_m runs at half that rate */
  26. #define COUNTER_FREQUENCY 19200000
  27. #endif