summaryrefslogtreecommitdiff
path: root/include/configs/aquila-imx95.h
blob: 07d09d138cb3d939ab2f5c01cc39ccba24e99f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Copyright (c) Toradex */

#ifndef __AQUILA_IMX95_H
#define __AQUILA_IMX95_H

#include <linux/sizes.h>
#include <asm/arch/imx-regs.h>

#define CFG_SYS_UBOOT_BASE	\
	(QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)

/* module has 8GB, 2GB from 0x80000000..0xffffffff, 6GB above */
#define SZ_6G	_AC(0x180000000, ULL)

/* first 256MB reserved for firmware */
#define CFG_SYS_INIT_RAM_ADDR	0x90000000
#define CFG_SYS_INIT_RAM_SIZE	SZ_2M

#define CFG_SYS_SDRAM_BASE	0x90000000
#define PHYS_SDRAM		0x90000000
#define PHYS_SDRAM_SIZE		(SZ_2G - SZ_256M)
#define PHYS_SDRAM_2_SIZE	SZ_6G

#define CFG_SYS_SECURE_SDRAM_BASE	0x8A000000 /* Secure DDR region for A55, SPL could use first 2MB */
#define CFG_SYS_SECURE_SDRAM_SIZE	0x06000000

#endif