blob: 5ecbd1d3edd4a356dd76b3b41988a55d88f72908 [file] [log] [blame]
Hai Pham747a7ab2020-05-21 20:14:05 +07001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * include/configs/falcon.h
4 * This file is Falcon board configuration.
5 *
6 * Copyright (C) 2020 Renesas Electronics Corp.
7 */
8
9#ifndef __FALCON_H
10#define __FALCON_H
11
12#include "rcar-gen3-common.h"
13
Koji Matsuoka69b7cc02020-07-16 12:11:16 +090014/* Generic Interrupt Controller Definitions */
15#ifdef CONFIG_GICV2
16#undef CONFIG_GICV2
17#undef GICD_BASE
18#undef GICC_BASE
19#undef GICR_BASE
20#endif
21#define CONFIG_GICV3
22#define GICD_BASE 0xF1000000
23#define GICR_BASE 0xF1060000
24
Hai Pham747a7ab2020-05-21 20:14:05 +070025/* Ethernet RAVB */
26#define CONFIG_BITBANGMII
27#define CONFIG_BITBANGMII_MULTI
28
29/* Board Clock */
30/* XTAL_CLK : 16.66MHz */
31#define CONFIG_SYS_CLK_FREQ 16666666u
32
33/* Generic Timer Definitions (use in assembler source) */
34#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
35
36#endif /* __FALCON_H */