arm: imx9: Add i.MX952 SoC support

Add basic SoC support for i.MX952:
- Add CONFIG_IMX952 Kconfig option
- Include i.MX952 clock and power headers
- Set CPU speed grade to 1.7GHz for i.MX952

Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: David Zang <davidzangcs@gmail.com>
This commit is contained in:
Alice Guo
2026-03-16 18:44:00 -03:00
committed by Fabio Estevam
parent b65ac8c001
commit 9b3797dde7
3 changed files with 21 additions and 0 deletions
+9
View File
@@ -47,6 +47,15 @@ config IMX94
select SCMI_FIRMWARE
select SPL_IMX_CONTAINER_USE_TRAMPOLINE
config IMX952
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"
+10
View File
@@ -21,6 +21,16 @@
#define IMX95_PD_M70 IMX95_PD_M7
#endif
#ifdef CONFIG_IMX952
#define IMX_PLAT 952
#include <imx952-clock.h>
#include <imx952-power.h>
#define IMX952_CLK_SEL_A55C0 IMX952_CLK_GPR_SEL_A55C0
#define IMX952_PD_M70 IMX952_PD_M7
#define IMX952_CLK_FLEXSPI1 IMX952_CLK_XSPI1
#define IMX952_CLK_24M IMX952_CLK_OSC24M
#endif
#define IMX_PLAT_STR__(plat) # plat
#define IMX_PLAT_STR_(IMX_PLAT) IMX_PLAT_STR__(IMX_PLAT)
+2
View File
@@ -153,6 +153,8 @@ u32 get_cpu_speed_grade_hz(void)
if (is_imx95())
max_speed = 2000000000;
if (is_imx952())
max_speed = 1700000000;
/* In case the fuse of speed grade not programmed */
if (speed > max_speed)