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 | |
Koji Matsuoka | 69b7cc0 | 2020-07-16 12:11:16 +0900 | [diff] [blame] | 14 | /* 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 Pham | 747a7ab | 2020-05-21 20:14:05 +0700 | [diff] [blame] | 25 | /* 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 */ |