blob: 47c56b50b1633ffa3ef5a3ff1d2dd0c7ff749cbf [file] [log] [blame]
Teresa Remmet30fb74d2021-01-13 16:28:09 +01001/* SPDX-License-Identifier: GPL-2.0-or-later
2 *
3 * Copyright (C) 2020 PHYTEC Messtechnik GmbH
4 * Author: Teresa Remmet <t.remmet@phytec.de>
5 */
6
7#ifndef __PHYCORE_IMX8MP_H
8#define __PHYCORE_IMX8MP_H
9
10#include <linux/sizes.h>
11#include <asm/arch/imx-regs.h>
12
Tom Rini6a5dccc2022-11-16 13:10:41 -050013#define CFG_SYS_UBOOT_BASE \
Teresa Remmet30fb74d2021-01-13 16:28:09 +010014 (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
15
Teresa Remmet30fb74d2021-01-13 16:28:09 +010016/* Link Definitions */
Teresa Remmet30fb74d2021-01-13 16:28:09 +010017
Tom Rini6a5dccc2022-11-16 13:10:41 -050018#define CFG_SYS_INIT_RAM_ADDR 0x40000000
19#define CFG_SYS_INIT_RAM_SIZE SZ_512K
Teresa Remmet30fb74d2021-01-13 16:28:09 +010020
Tom Rinibb4dd962022-11-16 13:10:37 -050021#define CFG_SYS_SDRAM_BASE 0x40000000
Teresa Remmet30fb74d2021-01-13 16:28:09 +010022
23#define PHYS_SDRAM 0x40000000
Teresa Remmetfe556272024-05-28 15:35:13 +020024#define PHYS_SDRAM_SIZE (SZ_2G + SZ_1G) /* 3GB */
25#define PHYS_SDRAM_2 0x100000000
26#define PHYS_SDRAM_2_SIZE (SZ_4G + SZ_1G) /* 5GB */
Teresa Remmet30fb74d2021-01-13 16:28:09 +010027
Teresa Remmet30fb74d2021-01-13 16:28:09 +010028#endif /* __PHYCORE_IMX8MP_H */