blob: d2edd56130bf1d0bb4ca488fcdb642c1b9877e63 [file] [log] [blame]
Marek Vasutd21f08b2017-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
13#undef DEBUG
14
15#include "rcar-gen3-common.h"
16
17/* Ethernet RAVB */
18#define CONFIG_NET_MULTI
19#define CONFIG_BITBANGMII
20#define CONFIG_BITBANGMII_MULTI
21
Marek Vasut5e7f63d2018-02-13 21:34:03 +010022/* Environment compatibility */
23#undef CONFIG_ENV_SIZE_REDUND
24#undef CONFIG_ENV_SECT_SIZE
25#define CONFIG_ENV_SECT_SIZE (256 * 1024)
26#define CONFIG_ENV_OFFSET 0x700000
27
Marek Vasutd21f08b2017-10-09 21:08:10 +020028/* Board Clock */
29/* XTAL_CLK : 33.33MHz */
30#define CONFIG_SYS_CLK_FREQ 33333333u
31
32/* Generic Timer Definitions (use in assembler source) */
33#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
34
35#endif /* __EAGLE_H */