1 /* SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2020 PHYTEC Messtechnik GmbH
4 * Author: Teresa Remmet <t.remmet@phytec.de>
7 #ifndef __PHYCORE_IMX8MP_H
8 #define __PHYCORE_IMX8MP_H
10 #include <linux/sizes.h>
11 #include <asm/arch/imx-regs.h>
13 #define CFG_SYS_UBOOT_BASE \
14 (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
16 /* Link Definitions */
18 #define CFG_SYS_INIT_RAM_ADDR 0x40000000
19 #define CFG_SYS_INIT_RAM_SIZE SZ_512K
21 #define CFG_SYS_SDRAM_BASE 0x40000000
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 */
28 #endif /* __PHYCORE_IMX8MP_H */