u-boot/include/configs/falcon.h

37 lines
776 B
C
Raw Normal View History

/* 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"
/* 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
/* 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 */