1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2020 Compass Electronics Group, LLC
6 #ifndef __IMX8MN_BEACON_H
7 #define __IMX8MN_BEACON_H
9 #include <linux/sizes.h>
10 #include <asm/arch/imx-regs.h>
12 #define CFG_SYS_UBOOT_BASE \
13 (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
15 /* Link Definitions */
17 #define CFG_SYS_INIT_RAM_ADDR 0x40000000
18 #define CFG_SYS_INIT_RAM_SIZE 0x200000
20 #define CFG_SYS_SDRAM_BASE 0x40000000
21 #define PHYS_SDRAM 0x40000000
22 #if IS_ENABLED(CONFIG_IMX8MN_BEACON_2GB_LPDDR)
23 #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */
25 #define PHYS_SDRAM_SIZE 0x40000000 /* 1GB DDR */