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