blob: 67301fabeb627d4321d497e3ddc7f4540ced6aaa [file] [log] [blame]
Chris Brandtba932bc2017-08-23 14:53:59 -05001/* 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
8#ifndef __GRPEACH_H
9#define __GRPEACH_H
10
11/* Board Clock , P1 clock frequency (XTAL=13.33MHz) */
12#define CONFIG_SYS_CLK_FREQ 66666666
13
Chris Brandtba932bc2017-08-23 14:53:59 -050014/* Miscellaneous */
15#define CONFIG_SYS_PBSIZE 256
Chris Brandtba932bc2017-08-23 14:53:59 -050016#define CONFIG_CMDLINE_TAG
Chris Brandtba932bc2017-08-23 14:53:59 -050017
18/* Internal RAM Size (RZ/A1=3M, RZ/A1M=5M, RZ/A1H=10M) */
19#define CONFIG_SYS_SDRAM_BASE 0x20000000
20#define CONFIG_SYS_SDRAM_SIZE (10 * 1024 * 1024)
21#define CONFIG_SYS_INIT_SP_ADDR \
22 (CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_SDRAM_SIZE - 1024 * 1024)
23#define CONFIG_SYS_LOAD_ADDR \
24 (CONFIG_SYS_SDRAM_BASE + 4 * 1024 * 1024)
25
26#define CONFIG_ENV_OVERWRITE 1
Chris Brandtba932bc2017-08-23 14:53:59 -050027
28/* Malloc */
29#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)
30#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
31
Chris Brandtba932bc2017-08-23 14:53:59 -050032/* Network interface */
33#define CONFIG_SH_ETHER_USE_PORT 0
34#define CONFIG_SH_ETHER_PHY_ADDR 0
35#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
36#define CONFIG_SH_ETHER_CACHE_WRITEBACK
37#define CONFIG_SH_ETHER_CACHE_INVALIDATE
38#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
Chris Brandtba932bc2017-08-23 14:53:59 -050039#define CONFIG_BITBANGMII_MULTI
40
41#endif /* __GRPEACH_H */