blob: b570ef9115e7dffb25133d29d491900442ba9d47 [file] [log] [blame]
Marek Vasutb47bc372017-10-09 21:08:10 +02001/*
2 * include/configs/eagle.h
3 * This file is Eagle board configuration.
4 *
5 * Copyright (C) 2015 Renesas Electronics Corporation
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */
9
10#ifndef __EAGLE_H
11#define __EAGLE_H
12
Marek Vasutb47bc372017-10-09 21:08:10 +020013#include "rcar-gen3-common.h"
14
15/* Ethernet RAVB */
Marek Vasutb47bc372017-10-09 21:08:10 +020016#define CONFIG_BITBANGMII
17#define CONFIG_BITBANGMII_MULTI
18
Marek Vasutb38f32f2018-02-13 21:34:03 +010019/* Environment compatibility */
20#undef CONFIG_ENV_SIZE_REDUND
21#undef CONFIG_ENV_SECT_SIZE
22#define CONFIG_ENV_SECT_SIZE (256 * 1024)
23#define CONFIG_ENV_OFFSET 0x700000
24
Marek Vasutb47bc372017-10-09 21:08:10 +020025/* Board Clock */
26/* XTAL_CLK : 33.33MHz */
27#define CONFIG_SYS_CLK_FREQ 33333333u
28
29/* Generic Timer Definitions (use in assembler source) */
30#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
31
32#endif /* __EAGLE_H */