Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Marek Vasut | b47bc37 | 2017-10-09 21:08:10 +0200 | [diff] [blame] | 2 | /* |
| 3 | * include/configs/eagle.h |
| 4 | * This file is Eagle board configuration. |
| 5 | * |
| 6 | * Copyright (C) 2015 Renesas Electronics Corporation |
Marek Vasut | b47bc37 | 2017-10-09 21:08:10 +0200 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef __EAGLE_H |
| 10 | #define __EAGLE_H |
| 11 | |
Marek Vasut | b47bc37 | 2017-10-09 21:08:10 +0200 | [diff] [blame] | 12 | #include "rcar-gen3-common.h" |
| 13 | |
| 14 | /* Ethernet RAVB */ |
Marek Vasut | b47bc37 | 2017-10-09 21:08:10 +0200 | [diff] [blame] | 15 | #define CONFIG_BITBANGMII |
| 16 | #define CONFIG_BITBANGMII_MULTI |
| 17 | |
Marek Vasut | b38f32f | 2018-02-13 21:34:03 +0100 | [diff] [blame] | 18 | /* Environment compatibility */ |
| 19 | #undef CONFIG_ENV_SIZE_REDUND |
| 20 | #undef CONFIG_ENV_SECT_SIZE |
| 21 | #define CONFIG_ENV_SECT_SIZE (256 * 1024) |
| 22 | #define CONFIG_ENV_OFFSET 0x700000 |
| 23 | |
Marek Vasut | b47bc37 | 2017-10-09 21:08:10 +0200 | [diff] [blame] | 24 | /* Board Clock */ |
| 25 | /* XTAL_CLK : 33.33MHz */ |
| 26 | #define CONFIG_SYS_CLK_FREQ 33333333u |
| 27 | |
| 28 | /* Generic Timer Definitions (use in assembler source) */ |
| 29 | #define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ |
| 30 | |
| 31 | #endif /* __EAGLE_H */ |