2020-05-21 21:14:05 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
|
|
* include/configs/falcon.h
|
|
|
|
* This file is Falcon board configuration.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2020 Renesas Electronics Corp.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __FALCON_H
|
|
|
|
#define __FALCON_H
|
|
|
|
|
|
|
|
#include "rcar-gen3-common.h"
|
|
|
|
|
2020-07-16 11:11:16 +08:00
|
|
|
/* Generic Interrupt Controller Definitions */
|
|
|
|
#ifdef CONFIG_GICV2
|
|
|
|
#undef CONFIG_GICV2
|
|
|
|
#undef GICD_BASE
|
|
|
|
#undef GICC_BASE
|
|
|
|
#undef GICR_BASE
|
|
|
|
#endif
|
|
|
|
#define CONFIG_GICV3
|
|
|
|
#define GICD_BASE 0xF1000000
|
|
|
|
#define GICR_BASE 0xF1060000
|
|
|
|
|
2020-05-21 21:14:05 +08:00
|
|
|
/* Ethernet RAVB */
|
|
|
|
#define CONFIG_BITBANGMII
|
|
|
|
#define CONFIG_BITBANGMII_MULTI
|
|
|
|
|
|
|
|
/* Board Clock */
|
|
|
|
/* XTAL_CLK : 16.66MHz */
|
|
|
|
#define CONFIG_SYS_CLK_FREQ 16666666u
|
|
|
|
|
|
|
|
/* Generic Timer Definitions (use in assembler source) */
|
|
|
|
#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
|
|
|
|
|
|
|
|
#endif /* __FALCON_H */
|