summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoão Paulo Gonçalves <[email protected]>2025-10-27 11:58:57 +0100
committerFabio Estevam <[email protected]>2025-10-30 12:39:57 -0300
commitff0540fcfe4916cb202eca2dbfcdda6d9508d9d4 (patch)
treecbfbbb53ffab4b9a7acd2e6a36f288937fc3d836 /include
parentf6f319f035c7c8b04f95e3252ac136c128357871 (diff)
board: toradex: add Toradex SMARC iMX95
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 <[email protected]> Co-developed-by: Emanuele Ghidoli <[email protected]> Signed-off-by: Emanuele Ghidoli <[email protected]> Co-developed-by: Max Krummenacher <[email protected]> Signed-off-by: Max Krummenacher <[email protected]> Co-developed-by: Ernest Van Hoecke <[email protected]> Signed-off-by: Ernest Van Hoecke <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/toradex-smarc-imx95.h24
1 files changed, 24 insertions, 0 deletions
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 <linux/sizes.h>
+#include <asm/arch/imx-regs.h>
+
+/* 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