blob: 001e9d385ba1cd7a9d39b5eec9b3c59d79f47c94 [file] [log] [blame]
Chris Brandt1f3b6672017-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
14/* Serial Console */
15#define CONFIG_BAUDRATE 115200
16
17/* Miscellaneous */
18#define CONFIG_SYS_PBSIZE 256
Chris Brandt1f3b6672017-08-23 14:53:59 -050019#define CONFIG_CMDLINE_TAG
Chris Brandt1f3b6672017-08-23 14:53:59 -050020
21/* Internal RAM Size (RZ/A1=3M, RZ/A1M=5M, RZ/A1H=10M) */
22#define CONFIG_SYS_SDRAM_BASE 0x20000000
23#define CONFIG_SYS_SDRAM_SIZE (10 * 1024 * 1024)
24#define CONFIG_SYS_INIT_SP_ADDR \
25 (CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_SDRAM_SIZE - 1024 * 1024)
26#define CONFIG_SYS_LOAD_ADDR \
27 (CONFIG_SYS_SDRAM_BASE + 4 * 1024 * 1024)
28
29#define CONFIG_ENV_OVERWRITE 1
Chris Brandt1f3b6672017-08-23 14:53:59 -050030
31/* Malloc */
32#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)
33#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
34
35/* Kernel Boot */
36#define CONFIG_BOOTARGS "ignore_loglevel"
37
38/* Network interface */
39#define CONFIG_SH_ETHER_USE_PORT 0
40#define CONFIG_SH_ETHER_PHY_ADDR 0
41#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
42#define CONFIG_SH_ETHER_CACHE_WRITEBACK
43#define CONFIG_SH_ETHER_CACHE_INVALIDATE
44#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
Chris Brandt1f3b6672017-08-23 14:53:59 -050045#define CONFIG_BITBANGMII_MULTI
46
47#endif /* __GRPEACH_H */