Marek Vasut | 3ebb919 | 2019-07-29 19:59:44 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * include/configs/condor.h |
| 4 | * This file is Condor board configuration. |
| 5 | * |
| 6 | * Copyright (C) 2019 Renesas Electronics Corporation |
| 7 | */ |
| 8 | |
| 9 | #ifndef __CONDOR_H |
| 10 | #define __CONDOR_H |
| 11 | |
| 12 | #include "rcar-gen3-common.h" |
| 13 | |
| 14 | /* Ethernet RAVB */ |
Marek Vasut | 3ebb919 | 2019-07-29 19:59:44 +0200 | [diff] [blame] | 15 | #define CONFIG_BITBANGMII_MULTI |
| 16 | |
| 17 | /* Environment compatibility */ |
Marek Vasut | 3ebb919 | 2019-07-29 19:59:44 +0200 | [diff] [blame] | 18 | |
| 19 | /* SH Ether */ |
| 20 | #define CONFIG_SH_ETHER_USE_PORT 0 |
| 21 | #define CONFIG_SH_ETHER_PHY_ADDR 0x1 |
| 22 | #define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII |
| 23 | #define CONFIG_SH_ETHER_CACHE_WRITEBACK |
| 24 | #define CONFIG_SH_ETHER_CACHE_INVALIDATE |
| 25 | #define CONFIG_SH_ETHER_ALIGNE_SIZE 64 |
Marek Vasut | 3ebb919 | 2019-07-29 19:59:44 +0200 | [diff] [blame] | 26 | #define CONFIG_BITBANGMII_MULTI |
| 27 | |
| 28 | /* Board Clock */ |
| 29 | /* XTAL_CLK : 33.33MHz */ |
| 30 | #define CONFIG_SYS_CLK_FREQ 33333333u |
| 31 | |
| 32 | /* Generic Timer Definitions (use in assembler source) */ |
| 33 | #define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ |
| 34 | |
| 35 | #endif /* __CONDOR_H */ |