blob: fb01c5614b6cb29d6120bf448abeaebb25ae1298 [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) */
Chris Brandt1f3b6672017-08-23 14:53:59 -050012
Chris Brandt1f3b6672017-08-23 14:53:59 -050013/* Miscellaneous */
14#define CONFIG_SYS_PBSIZE 256
Chris Brandt1f3b6672017-08-23 14:53:59 -050015
16/* Internal RAM Size (RZ/A1=3M, RZ/A1M=5M, RZ/A1H=10M) */
17#define CONFIG_SYS_SDRAM_BASE 0x20000000
18#define CONFIG_SYS_SDRAM_SIZE (10 * 1024 * 1024)
19#define CONFIG_SYS_INIT_SP_ADDR \
20 (CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_SDRAM_SIZE - 1024 * 1024)
Chris Brandt1f3b6672017-08-23 14:53:59 -050021
Chris Brandt1f3b6672017-08-23 14:53:59 -050022#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
23
Chris Brandt1f3b6672017-08-23 14:53:59 -050024/* Network interface */
25#define CONFIG_SH_ETHER_USE_PORT 0
26#define CONFIG_SH_ETHER_PHY_ADDR 0
27#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
28#define CONFIG_SH_ETHER_CACHE_WRITEBACK
29#define CONFIG_SH_ETHER_CACHE_INVALIDATE
30#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
Chris Brandt1f3b6672017-08-23 14:53:59 -050031#define CONFIG_BITBANGMII_MULTI
32
33#endif /* __GRPEACH_H */