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_SECT_SIZE
20 #define CONFIG_ENV_SECT_SIZE (256 * 1024)
21 #define CONFIG_ENV_OFFSET 0x700000
24 #define CONFIG_SH_ETHER_USE_PORT 0
25 #define CONFIG_SH_ETHER_PHY_ADDR 0x1
26 #define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
27 #define CONFIG_SH_ETHER_CACHE_WRITEBACK
28 #define CONFIG_SH_ETHER_CACHE_INVALIDATE
29 #define CONFIG_SH_ETHER_ALIGNE_SIZE 64
30 #define CONFIG_BITBANGMII
31 #define CONFIG_BITBANGMII_MULTI
34 /* XTAL_CLK : 33.33MHz */
35 #define CONFIG_SYS_CLK_FREQ 33333333u
37 /* Generic Timer Definitions (use in assembler source) */
38 #define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
40 #endif /* __CONDOR_H */