From 1beb665c50c6382632649069edc4bb7c9e3a2f80 Mon Sep 17 00:00:00 2001 From: Gilles Talis Date: Sun, 27 Oct 2024 10:52:41 -0400 Subject: board: emcraft: Add support for Emcraft Systems NavQ+ The Emcraft Systems NavQ+ kit is a mobile robotics platform based on NXP i.MX8 MPlus SoC. The following interfaces and devices are enabled: - eMMC - Gigabit Ethernet (through eQOS interface) - SD-Card - UART console The device tree file is taken from upstream Linux Kernel through OF_UPSTREAM Signed-off-by: Gilles Talis Reviewed-by: Fabio Estevam --- include/configs/imx8mp_navqp.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 include/configs/imx8mp_navqp.h (limited to 'include') diff --git a/include/configs/imx8mp_navqp.h b/include/configs/imx8mp_navqp.h new file mode 100644 index 00000000000..802438aea5f --- /dev/null +++ b/include/configs/imx8mp_navqp.h @@ -0,0 +1,37 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2019 NXP + * Copyright 2024 Gilles Talis + */ + +#ifndef __IMX8MP_NAVQP_H +#define __IMX8MP_NAVQP_H + +#include +#include + +#define CFG_SYS_UBOOT_BASE (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512) + +#define BOOT_TARGET_DEVICES(func) \ + func(MMC, mmc, 1) \ + func(MMC, mmc, 2) + +#include + +/* Initial environment variables */ +#define CFG_EXTRA_ENV_SETTINGS \ + BOOTENV + +/* Link Definitions */ + +#define CFG_SYS_INIT_RAM_ADDR 0x40000000 +#define CFG_SYS_INIT_RAM_SIZE 0x80000 + +/* 8GB DDR */ +#define CFG_SYS_SDRAM_BASE 0x40000000 +#define PHYS_SDRAM 0x40000000 +#define PHYS_SDRAM_SIZE 0xC0000000 /* 3 GB */ +#define PHYS_SDRAM_2 0x100000000 +#define PHYS_SDRAM_2_SIZE 0x140000000 /* 5 GB */ + +#endif -- cgit v1.3.1