]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
imx9: Add i.MX94 CPU type and SoC-level Kconfig
authorYe Li <ye.li@nxp.com>
Tue, 23 Sep 2025 02:14:53 +0000 (10:14 +0800)
committerFabio Estevam <festevam@gmail.com>
Fri, 26 Sep 2025 12:51:21 +0000 (09:51 -0300)
Introduce support for the new i.MX94 processor, including its CPU type
and SoC-level Kconfig entry.

The i.MX94 is a new member of the i.MX9 family. It uses a System Manager
to handle system-level functions such as power, clock, sensor and pin
control. The System Manager runs on a Cortex-M processor, while the
Cortex-A processor communicates with it via the ARM SCMI protocol and a
messaging unit.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Alice Guo <alice.guo@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
arch/arm/include/asm/arch-imx/cpu.h
arch/arm/include/asm/mach-imx/sys_proto.h
arch/arm/mach-imx/imx9/Kconfig

index 1f669c72d00833f07ca7a2563ae24536af9dc418..1af9778f8ced2338c71ba0fab7dc2b5df6cc2ee2 100644 (file)
@@ -78,6 +78,8 @@
 
 #define MXC_CPU_IMX95          0x1C1 /* dummy ID */
 
+#define MXC_CPU_IMX94          0x1C2 /* dummy ID */
+
 #define MXC_SOC_MX6            0x60
 #define MXC_SOC_MX7            0x70
 #define MXC_SOC_IMX8M          0x80
index 0780f99b49a7768d77ed688157e3287195c857b1..46da7a1eff5faf4ac1a13e1381e7b684533f3b1b 100644 (file)
@@ -97,6 +97,7 @@ struct bd_info;
 #define is_imx9302() (is_cpu_type(MXC_CPU_IMX9302))
 #define is_imx9301() (is_cpu_type(MXC_CPU_IMX9301))
 
+#define is_imx94() (is_cpu_type(MXC_CPU_IMX94))
 #define is_imx95() (is_cpu_type(MXC_CPU_IMX95))
 
 #define is_imx9121() (is_cpu_type(MXC_CPU_IMX9121))
index b6acbb20ff0a4d5f1333dde346a71068d22e1aae..f2011448c23385ae3d60660448f2bb9b77a8c0ec 100644 (file)
@@ -38,6 +38,15 @@ config IMX95
        select SPL_IMX_CONTAINER_USE_TRAMPOLINE
        select IMX_PQC_SUPPORT if !IMX95_A0
 
+config IMX94
+       bool
+       select ARMV8_SPL_EXCEPTION_VECTORS
+       select DM_MAILBOX
+       select IMX9
+       select IMX_PQC_SUPPORT
+       select SCMI_FIRMWARE
+       select SPL_IMX_CONTAINER_USE_TRAMPOLINE
+
 config SYS_SOC
        default "imx9"