blob: 8de4a36e931a310e5b53afedd84e2035673cfd21 [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) */
Chris Brandtba932bc2017-08-23 14:53:59 -050012
Chris Brandtba932bc2017-08-23 14:53:59 -050013/* Miscellaneous */
Chris Brandtba932bc2017-08-23 14:53:59 -050014
15/* Internal RAM Size (RZ/A1=3M, RZ/A1M=5M, RZ/A1H=10M) */
Tom Riniaa6e94d2022-11-16 13:10:37 -050016#define CFG_SYS_SDRAM_BASE 0x20000000
17#define CFG_SYS_SDRAM_SIZE (10 * 1024 * 1024)
Chris Brandtba932bc2017-08-23 14:53:59 -050018
Chris Brandtba932bc2017-08-23 14:53:59 -050019/* Network interface */
Tom Rini97148cb2022-12-04 10:13:52 -050020#define CFG_SH_ETHER_USE_PORT 0
Tom Rini7c480ba2022-12-04 10:13:50 -050021#define CFG_SH_ETHER_PHY_ADDR 0
Tom Rini85b55112022-12-04 10:13:51 -050022#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
Tom Riniff53ecc2022-12-04 10:13:49 -050023#define CFG_SH_ETHER_CACHE_WRITEBACK
Tom Rinic253cea2022-12-04 10:13:48 -050024#define CFG_SH_ETHER_CACHE_INVALIDATE
Tom Rini24513c32022-12-04 10:13:47 -050025#define CFG_SH_ETHER_ALIGNE_SIZE 64
Chris Brandtba932bc2017-08-23 14:53:59 -050026
27#endif /* __GRPEACH_H */