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) */ |
| 16 | #define CONFIG_SYS_SDRAM_BASE 0x20000000 |
| 17 | #define CONFIG_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 | #define CONFIG_SYS_MONITOR_LEN (512 * 1024) |
| 20 | |
Chris Brandt | ba932bc | 2017-08-23 14:53:59 -0500 | [diff] [blame] | 21 | /* Network interface */ |
| 22 | #define CONFIG_SH_ETHER_USE_PORT 0 |
| 23 | #define CONFIG_SH_ETHER_PHY_ADDR 0 |
| 24 | #define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII |
| 25 | #define CONFIG_SH_ETHER_CACHE_WRITEBACK |
| 26 | #define CONFIG_SH_ETHER_CACHE_INVALIDATE |
| 27 | #define CONFIG_SH_ETHER_ALIGNE_SIZE 64 |
Chris Brandt | ba932bc | 2017-08-23 14:53:59 -0500 | [diff] [blame] | 28 | |
| 29 | #endif /* __GRPEACH_H */ |