1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * include/configs/rcar-gen2-common.h
4 *
5 * Copyright (C) 2013,2014 Renesas Electronics Corporation
6 */
7
8#ifndef __RCAR_GEN2_COMMON_H
9#define __RCAR_GEN2_COMMON_H
10
11#include <asm/arch/renesas.h>
12
13/* console */
14#define CFG_SYS_BAUDRATE_TABLE	{ 38400, 115200 }
15
16#define CFG_SYS_SDRAM_BASE		(RCAR_GEN2_SDRAM_BASE)
17#define CFG_SYS_SDRAM_SIZE		(RCAR_GEN2_UBOOT_SDRAM_SIZE)
18
19/* Timer */
20#define CFG_SYS_TIMER_COUNTER	(TMU_BASE + 0xc)	/* TCNT0 */
21#define CFG_SYS_TIMER_RATE		(get_board_sys_clk() / 8)
22
23#endif	/* __RCAR_GEN2_COMMON_H */
24