peach-pi.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Copyright (C) 2014 Samsung Electronics
  3. *
  4. * Configuration settings for the SAMSUNG/GOOGLE PEACH-PI board.
  5. *
  6. * SPDX-License-Identifier: GPL-2.0+
  7. */
  8. #ifndef __CONFIG_PEACH_PI_H
  9. #define __CONFIG_PEACH_PI_H
  10. #define MEM_LAYOUT_ENV_SETTINGS \
  11. "bootm_size=0x10000000\0" \
  12. "kernel_addr_r=0x22000000\0" \
  13. "fdt_addr_r=0x23000000\0" \
  14. "ramdisk_addr_r=0x23300000\0" \
  15. "scriptaddr=0x30000000\0" \
  16. "pxefile_addr_r=0x31000000\0"
  17. #include <configs/exynos5420-common.h>
  18. #include <configs/exynos5-dt-common.h>
  19. #include <configs/exynos5-common.h>
  20. #define CONFIG_SYS_SDRAM_BASE 0x20000000
  21. #define CONFIG_SYS_TEXT_BASE 0x23E00000
  22. #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_IRAM_TOP - 0x800)
  23. /* select serial console configuration */
  24. #define CONFIG_SERIAL3 /* use SERIAL 3 */
  25. #define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0"
  26. /* Display */
  27. #ifdef CONFIG_LCD
  28. #define CONFIG_EXYNOS_FB
  29. #define CONFIG_EXYNOS_DP
  30. #define LCD_BPP LCD_COLOR16
  31. #endif
  32. #define CONFIG_POWER_TPS65090_EC
  33. /* DRAM Memory Banks */
  34. #define CONFIG_NR_DRAM_BANKS 7
  35. #define SDRAM_BANK_SIZE (512UL << 20UL) /* 512 MB */
  36. #endif /* __CONFIG_PEACH_PI_H */