blob: f0e4bcaa29df71d8ac87ec4112639f94708467ba [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Marek Vasutd21f08b2017-10-09 21:08:10 +02002/*
3 * include/configs/eagle.h
4 * This file is Eagle board configuration.
5 *
6 * Copyright (C) 2015 Renesas Electronics Corporation
Marek Vasutd21f08b2017-10-09 21:08:10 +02007 */
8
9#ifndef __EAGLE_H
10#define __EAGLE_H
11
Marek Vasutd21f08b2017-10-09 21:08:10 +020012#include "rcar-gen3-common.h"
13
14/* Ethernet RAVB */
Marek Vasutd21f08b2017-10-09 21:08:10 +020015#define CONFIG_BITBANGMII
16#define CONFIG_BITBANGMII_MULTI
17
Marek Vasut5e7f63d2018-02-13 21:34:03 +010018/* 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 Vasutd21f08b2017-10-09 21:08:10 +020024/* 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 */