grpeach.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Configuration settings for the Renesas GRPEACH board
  4. *
  5. * Copyright (C) 2017-2019 Renesas Electronics
  6. */
  7. #ifndef __GRPEACH_H
  8. #define __GRPEACH_H
  9. /* Board Clock , P1 clock frequency (XTAL=13.33MHz) */
  10. #define CONFIG_SYS_CLK_FREQ 66666666
  11. /* Miscellaneous */
  12. #define CONFIG_SYS_PBSIZE 256
  13. #define CONFIG_CMDLINE_TAG
  14. /* Internal RAM Size (RZ/A1=3M, RZ/A1M=5M, RZ/A1H=10M) */
  15. #define CONFIG_SYS_SDRAM_BASE 0x20000000
  16. #define CONFIG_SYS_SDRAM_SIZE (10 * 1024 * 1024)
  17. #define CONFIG_SYS_INIT_SP_ADDR \
  18. (CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_SDRAM_SIZE - 1024 * 1024)
  19. #define CONFIG_SYS_LOAD_ADDR \
  20. (CONFIG_SYS_SDRAM_BASE + 4 * 1024 * 1024)
  21. #define CONFIG_ENV_OVERWRITE 1
  22. /* Malloc */
  23. #define CONFIG_SYS_MALLOC_LEN (1024 * 1024)
  24. #define CONFIG_SYS_MONITOR_LEN (512 * 1024)
  25. /* Network interface */
  26. #define CONFIG_SH_ETHER_USE_PORT 0
  27. #define CONFIG_SH_ETHER_PHY_ADDR 0
  28. #define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
  29. #define CONFIG_SH_ETHER_CACHE_WRITEBACK
  30. #define CONFIG_SH_ETHER_CACHE_INVALIDATE
  31. #define CONFIG_SH_ETHER_ALIGNE_SIZE 64
  32. #define CONFIG_BITBANGMII_MULTI
  33. #endif /* __GRPEACH_H */