blob: 67931febf84f2d71492ed408e88a4be0b9833982 [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
Tom Rini249f11f2021-08-19 14:19:39 -040014/*
15 * Generic Interrupt Controller Definitions. Undefine v2 locations and define
16 * v3 locations.
17 */
Koji Matsuoka69b7cc02020-07-16 12:11:16 +090018#undef GICD_BASE
19#undef GICC_BASE
20#undef GICR_BASE
Koji Matsuoka69b7cc02020-07-16 12:11:16 +090021#define GICD_BASE 0xF1000000
22#define GICR_BASE 0xF1060000
23
Hai Pham747a7ab2020-05-21 20:14:05 +070024/* Ethernet RAVB */
25#define CONFIG_BITBANGMII
26#define CONFIG_BITBANGMII_MULTI
27
28/* Board Clock */
29/* XTAL_CLK : 16.66MHz */
30#define CONFIG_SYS_CLK_FREQ 16666666u
31
32/* Generic Timer Definitions (use in assembler source) */
33#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
34
35#endif /* __FALCON_H */