summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFrieder Schrempf <[email protected]>2025-11-11 17:54:18 +0100
committerFabio Estevam <[email protected]>2025-11-29 14:42:24 -0300
commitdfafac3207b4e590c52d7ceed00850a1e542c886 (patch)
tree4baca5002ec9064b2a0ccfbae0fe03ce7ca42f38 /include
parent1817467e4838aab9a86237cfb5076d9fc2b5b24e (diff)
imx: Add support for Kontron i.MX8MP OSM-S SoM and BL carrier board
This adds support for the Kontron Electronics OSM-S i.MX8MP SoM and the matching baseboard BL i.MX8MP. The SoM hardware complies to the Open Standard Module (OSM) 1.1 specification, size S (https://sget.org/standards/osm). Signed-off-by: Frieder Schrempf <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/kontron-osm-s-mx8mp.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/configs/kontron-osm-s-mx8mp.h b/include/configs/kontron-osm-s-mx8mp.h
new file mode 100644
index 00000000000..24b07842bb6
--- /dev/null
+++ b/include/configs/kontron-osm-s-mx8mp.h
@@ -0,0 +1,30 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2023 Kontron Electronics GmbH
+ *
+ * Configuration settings for the Kontron OSM-S/BL i.MX8M Plus boards and modules.
+ */
+#ifndef __KONTRON_MX8MP_CONFIG_H
+#define __KONTRON_MX8MP_CONFIG_H
+
+#include <asm/arch/imx-regs.h>
+#include <linux/sizes.h>
+
+/* RAM */
+#define PHYS_SDRAM DDR_CSD1_BASE_ADDR
+#define PHYS_SDRAM_SIZE (SZ_2G + SZ_1G)
+#define PHYS_SDRAM_2 0x100000000
+#define PHYS_SDRAM_2_SIZE (SZ_1G + SZ_4G)
+#define CFG_SYS_SDRAM_BASE PHYS_SDRAM
+
+#define CFG_SYS_INIT_RAM_ADDR 0x40000000
+#define CFG_SYS_INIT_RAM_SIZE SZ_512K
+
+/* Board and environment settings */
+
+#ifdef CONFIG_USB_EHCI_HCD
+#define CFG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
+#define CFG_MXC_USB_FLAGS 0
+#endif
+
+#endif /* __KONTRON_MX8MP_CONFIG_H */