1 /* 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 
13 #define CFG_SYS_UBOOT_BASE \
14 		(QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
15 
16 /* Link Definitions */
17 
18 #define CFG_SYS_INIT_RAM_ADDR	0x40000000
19 #define CFG_SYS_INIT_RAM_SIZE	SZ_512K
20 
21 #define CFG_SYS_SDRAM_BASE		0x40000000
22 
23 #define PHYS_SDRAM			0x40000000
24 #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 */
27 
28 #endif /* __PHYCORE_IMX8MP_H */
29