From ff0540fcfe4916cb202eca2dbfcdda6d9508d9d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Gon=C3=A7alves?= Date: Mon, 27 Oct 2025 11:58:57 +0100 Subject: board: toradex: add Toradex SMARC iMX95 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add support for the Toradex SMARC iMX95. Link: https://www.toradex.com/computer-on-modules/smarc-arm-family/nxp-imx95 Link: https://www.toradex.com/products/carrier-board/smarc-development-board-kit Signed-off-by: João Paulo Gonçalves Co-developed-by: Emanuele Ghidoli Signed-off-by: Emanuele Ghidoli Co-developed-by: Max Krummenacher Signed-off-by: Max Krummenacher Co-developed-by: Ernest Van Hoecke Signed-off-by: Ernest Van Hoecke --- include/configs/toradex-smarc-imx95.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/configs/toradex-smarc-imx95.h (limited to 'include') diff --git a/include/configs/toradex-smarc-imx95.h b/include/configs/toradex-smarc-imx95.h new file mode 100644 index 00000000000..e1aebd70af2 --- /dev/null +++ b/include/configs/toradex-smarc-imx95.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* Copyright (C) 2025 Toradex */ + +#ifndef __IMX95_TORADEX_SMARC_H +#define __IMX95_TORADEX_SMARC_H + +#include +#include + +/* 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 WDOG_BASE_ADDR WDG3_BASE_ADDR + +#endif -- cgit v1.2.3