Hai Pham | 747a7ab | 2020-05-21 20:14:05 +0700 | [diff] [blame] | 1 | /* 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 Rini | 249f11f | 2021-08-19 14:19:39 -0400 | [diff] [blame] | 14 | /* |
| 15 | * Generic Interrupt Controller Definitions. Undefine v2 locations and define |
| 16 | * v3 locations. |
| 17 | */ |
Koji Matsuoka | 69b7cc0 | 2020-07-16 12:11:16 +0900 | [diff] [blame] | 18 | #undef GICD_BASE |
| 19 | #undef GICC_BASE |
| 20 | #undef GICR_BASE |
Koji Matsuoka | 69b7cc0 | 2020-07-16 12:11:16 +0900 | [diff] [blame] | 21 | #define GICD_BASE 0xF1000000 |
| 22 | #define GICR_BASE 0xF1060000 |
| 23 | |
Hai Pham | 747a7ab | 2020-05-21 20:14:05 +0700 | [diff] [blame] | 24 | /* Ethernet RAVB */ |
Hai Pham | 747a7ab | 2020-05-21 20:14:05 +0700 | [diff] [blame] | 25 | #define CONFIG_BITBANGMII_MULTI |
| 26 | |
| 27 | /* Board Clock */ |
| 28 | /* XTAL_CLK : 16.66MHz */ |
| 29 | #define CONFIG_SYS_CLK_FREQ 16666666u |
| 30 | |
| 31 | /* Generic Timer Definitions (use in assembler source) */ |
| 32 | #define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ |
| 33 | |
| 34 | #endif /* __FALCON_H */ |