1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * include/configs/condor.h
4 * This file is Condor board configuration.
6 * Copyright (C) 2019 Renesas Electronics Corporation
12 #include "rcar-gen3-common.h"
15 #define CONFIG_BITBANGMII
16 #define CONFIG_BITBANGMII_MULTI
18 /* Environment compatibility */
19 #undef CONFIG_ENV_SIZE_REDUND
20 #undef CONFIG_ENV_SECT_SIZE
21 #define CONFIG_ENV_SECT_SIZE (256 * 1024)
22 #define CONFIG_ENV_OFFSET 0x700000
25 #define CONFIG_SH_ETHER_USE_PORT 0
26 #define CONFIG_SH_ETHER_PHY_ADDR 0x1
27 #define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
28 #define CONFIG_SH_ETHER_CACHE_WRITEBACK
29 #define CONFIG_SH_ETHER_CACHE_INVALIDATE
30 #define CONFIG_SH_ETHER_ALIGNE_SIZE 64
31 #define CONFIG_BITBANGMII
32 #define CONFIG_BITBANGMII_MULTI
35 /* XTAL_CLK : 33.33MHz */
36 #define CONFIG_SYS_CLK_FREQ 33333333u
38 /* Generic Timer Definitions (use in assembler source) */
39 #define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
41 #endif /* __CONDOR_H */