blob: 213e68f15874dff0449579f21a377e461869aaa3 [file] [log] [blame]
Marek Vasutb700f032019-07-29 19:59:44 +02001/* 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
Marek Vasutb700f032019-07-29 19:59:44 +020014/* Environment compatibility */
Marek Vasutb700f032019-07-29 19:59:44 +020015
16/* SH Ether */
17#define CONFIG_SH_ETHER_USE_PORT 0
18#define CONFIG_SH_ETHER_PHY_ADDR 0x1
19#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
20#define CONFIG_SH_ETHER_CACHE_WRITEBACK
21#define CONFIG_SH_ETHER_CACHE_INVALIDATE
22#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
Marek Vasutb700f032019-07-29 19:59:44 +020023
24/* Board Clock */
25/* XTAL_CLK : 33.33MHz */
Marek Vasutb700f032019-07-29 19:59:44 +020026
27/* Generic Timer Definitions (use in assembler source) */
28#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
29
30#endif /* __CONDOR_H */