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 */ 15 #define CONFIG_BITBANGMII_MULTI 16 17 /* Environment compatibility */ 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 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 */ 36