blob: 3465b4d1821d860fa8d5aa6f7ca4ec982b044b28 [file] [log] [blame]
Hai Pham9046b5f2023-02-28 22:22:03 +01001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * include/configs/rcar-gen4-common.h
4 * This file is R-Car Gen4 common configuration file.
5 *
6 * Copyright (C) 2021 Renesas Electronics Corporation
7 */
8
9#ifndef __RCAR_GEN4_COMMON_H
10#define __RCAR_GEN4_COMMON_H
11
Marek Vasut97a070b2024-02-27 17:05:54 +010012#include <asm/arch/renesas.h>
Hai Pham9046b5f2023-02-28 22:22:03 +010013
14/* Console */
15#define CFG_SYS_BAUDRATE_TABLE { 38400, 115200, 921600, 1843200 }
16
17/* Memory */
18#define DRAM_RSV_SIZE 0x08000000
19#define CFG_SYS_SDRAM_BASE (0x40000000 + DRAM_RSV_SIZE)
20#define CFG_SYS_SDRAM_SIZE (0x80000000u - DRAM_RSV_SIZE)
21#define CFG_MAX_MEM_MAPPED (0x80000000u - DRAM_RSV_SIZE)
22
23/* PHY needs a longer autoneg timeout */
24#define PHY_ANEG_TIMEOUT 20000
25
26/* Environment setting */
27#define CFG_EXTRA_ENV_SETTINGS \
28 "bootm_size=0x10000000\0"
29
30#endif /* __RCAR_GEN4_COMMON_H */