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