blob: 26ca6943b12af2ab9ca17e5d6bf184c43d6495a5 [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
14/* Serial Console */
15#define CONFIG_BAUDRATE 115200
16
17/* Miscellaneous */
18#define CONFIG_SYS_PBSIZE 256
19#define CONFIG_SYS_ARM_CACHE_WRITETHROUGH
20#define CONFIG_CMDLINE_TAG
Chris Brandtba932bc2017-08-23 14:53:59 -050021
22/* Internal RAM Size (RZ/A1=3M, RZ/A1M=5M, RZ/A1H=10M) */
23#define CONFIG_SYS_SDRAM_BASE 0x20000000
24#define CONFIG_SYS_SDRAM_SIZE (10 * 1024 * 1024)
25#define CONFIG_SYS_INIT_SP_ADDR \
26 (CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_SDRAM_SIZE - 1024 * 1024)
27#define CONFIG_SYS_LOAD_ADDR \
28 (CONFIG_SYS_SDRAM_BASE + 4 * 1024 * 1024)
29
30#define CONFIG_ENV_OVERWRITE 1
31#define CONFIG_ENV_SECT_SIZE (64 * 1024)
32#define CONFIG_ENV_SIZE (CONFIG_ENV_SECT_SIZE)
Marek Vasut85122442019-05-04 19:35:27 +020033#define CONFIG_ENV_OFFSET 0x80000
Chris Brandtba932bc2017-08-23 14:53:59 -050034
35/* Malloc */
36#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)
37#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
38
39/* Kernel Boot */
40#define CONFIG_BOOTARGS "ignore_loglevel"
41
42/* Network interface */
43#define CONFIG_SH_ETHER_USE_PORT 0
44#define CONFIG_SH_ETHER_PHY_ADDR 0
45#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
46#define CONFIG_SH_ETHER_CACHE_WRITEBACK
47#define CONFIG_SH_ETHER_CACHE_INVALIDATE
48#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
49#define CONFIG_BITBANGMII
50#define CONFIG_BITBANGMII_MULTI
51
52#endif /* __GRPEACH_H */