Chris Brandt | ba932bc | 2017-08-23 14:53:59 -0500 | [diff] [blame] | 1 | /* 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 Brandt | ba932bc | 2017-08-23 14:53:59 -0500 | [diff] [blame] | 12 | |
Chris Brandt | ba932bc | 2017-08-23 14:53:59 -0500 | [diff] [blame] | 13 | /* Miscellaneous */ |
Chris Brandt | ba932bc | 2017-08-23 14:53:59 -0500 | [diff] [blame] | 14 | |
| 15 | /* Internal RAM Size (RZ/A1=3M, RZ/A1M=5M, RZ/A1H=10M) */ |
Tom Rini | aa6e94d | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 16 | #define CFG_SYS_SDRAM_BASE 0x20000000 |
| 17 | #define CFG_SYS_SDRAM_SIZE (10 * 1024 * 1024) |
Chris Brandt | ba932bc | 2017-08-23 14:53:59 -0500 | [diff] [blame] | 18 | |
Chris Brandt | ba932bc | 2017-08-23 14:53:59 -0500 | [diff] [blame] | 19 | /* Network interface */ |
Tom Rini | 97148cb | 2022-12-04 10:13:52 -0500 | [diff] [blame] | 20 | #define CFG_SH_ETHER_USE_PORT 0 |
Tom Rini | 7c480ba | 2022-12-04 10:13:50 -0500 | [diff] [blame] | 21 | #define CFG_SH_ETHER_PHY_ADDR 0 |
Tom Rini | 85b5511 | 2022-12-04 10:13:51 -0500 | [diff] [blame] | 22 | #define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII |
Tom Rini | ff53ecc | 2022-12-04 10:13:49 -0500 | [diff] [blame] | 23 | #define CFG_SH_ETHER_CACHE_WRITEBACK |
Tom Rini | c253cea | 2022-12-04 10:13:48 -0500 | [diff] [blame] | 24 | #define CFG_SH_ETHER_CACHE_INVALIDATE |
Tom Rini | 24513c3 | 2022-12-04 10:13:47 -0500 | [diff] [blame] | 25 | #define CFG_SH_ETHER_ALIGNE_SIZE 64 |
Chris Brandt | ba932bc | 2017-08-23 14:53:59 -0500 | [diff] [blame] | 26 | |
| 27 | #endif /* __GRPEACH_H */ |