diff --git a/soc/ti/mspm0/CMakeLists.txt b/soc/ti/mspm0/CMakeLists.txt index c5487db5246..866993c31c7 100644 --- a/soc/ti/mspm0/CMakeLists.txt +++ b/soc/ti/mspm0/CMakeLists.txt @@ -2,7 +2,7 @@ set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "SoC Linker Script") -add_subdirectory(${SOC_SERIES}) +add_subdirectory(common) if(CONFIG_SOC_FAMILY_TI_MSPM0) string(TOUPPER ${CONFIG_SOC} SDK_SOC_SELECT) diff --git a/soc/ti/mspm0/mspm0l/Kconfig b/soc/ti/mspm0/mspm0l/Kconfig new file mode 100644 index 00000000000..11050c3df7d --- /dev/null +++ b/soc/ti/mspm0/mspm0l/Kconfig @@ -0,0 +1,17 @@ +# TI MSPM0L + +# Copyright (c) 2025 Texas Instruments +# Copyright (c) 2025 Linumiz GmbH +# SPDX-License-Identifier: Apache-2.0 + +config SOC_SERIES_MSPM0L + select ARM + select CPU_CORTEX_M0PLUS + select CPU_CORTEX_M_HAS_VTOR + select CPU_HAS_ARM_MPU + select CPU_CORTEX_M_HAS_SYSTICK + select BUILD_OUTPUT_BIN + select BUILD_OUTPUT_HEX + select HAS_MSPM0_SDK + select CLOCK_CONTROL + select SOC_EARLY_INIT_HOOK diff --git a/soc/ti/mspm0/mspm0l/Kconfig.defconfig b/soc/ti/mspm0/mspm0l/Kconfig.defconfig new file mode 100644 index 00000000000..0793aeb9a65 --- /dev/null +++ b/soc/ti/mspm0/mspm0l/Kconfig.defconfig @@ -0,0 +1,12 @@ +# TI MSPM0L series + +# Copyright (c) 2025 Texas Instruments +# Copyright (c) 2025 Linumiz GmbH +# SPDX-License-Identifier: Apache-2.0 + +if SOC_SERIES_MSPM0L + +config NUM_IRQS + default 32 + +endif # SOC_SERIES_MSPM0L diff --git a/soc/ti/mspm0/mspm0l/Kconfig.soc b/soc/ti/mspm0/mspm0l/Kconfig.soc new file mode 100644 index 00000000000..c4a884ae052 --- /dev/null +++ b/soc/ti/mspm0/mspm0l/Kconfig.soc @@ -0,0 +1,89 @@ +# Copyright (c) 2024 Texas Instruments +# Copyright (c) 2025 Linumiz GmbH +# SPDX-License-Identifier: Apache-2.0 + +config SOC_SERIES_MSPM0L + bool + select SOC_FAMILY_TI_MSPM0 + help + Enable support for TI MSPM0L series SoCs + +config SOC_MSPM0L1105 + bool + select SOC_SERIES_MSPM0L + +config SOC_MSPM0L1106 + bool + select SOC_SERIES_MSPM0L + +config SOC_MSPM0L1117 + bool + select SOC_SERIES_MSPM0L + +config SOC_MSPM0L1227 + bool + select SOC_SERIES_MSPM0L + +config SOC_MSPM0L1228 + bool + select SOC_SERIES_MSPM0L + +config SOC_MSPM0L1303 + bool + select SOC_SERIES_MSPM0L + +config SOC_MSPM0L1304 + bool + select SOC_SERIES_MSPM0L + +config SOC_MSPM0L1305 + bool + select SOC_SERIES_MSPM0L + +config SOC_MSPM0L1306 + bool + select SOC_SERIES_MSPM0L + +config SOC_MSPM0L1343 + bool + select SOC_SERIES_MSPM0L + +config SOC_MSPM0L1344 + bool + select SOC_SERIES_MSPM0L + +config SOC_MSPM0L1345 + bool + select SOC_SERIES_MSPM0L + +config SOC_MSPM0L1346 + bool + select SOC_SERIES_MSPM0L + +config SOC_MSPM0L2227 + bool + select SOC_SERIES_MSPM0L + +config SOC_MSPM0L2228 + bool + select SOC_SERIES_MSPM0L + +config SOC_SERIES + default "mspm0l" if SOC_SERIES_MSPM0L + +config SOC + default "mspm0l1105" if SOC_MSPM0L1105 + default "mspm0l1106" if SOC_MSPM0L1106 + default "mspm0l1117" if SOC_MSPM0L1117 + default "mspm0l1227" if SOC_MSPM0L1227 + default "mspm0l1228" if SOC_MSPM0L1228 + default "mspm0l1303" if SOC_MSPM0L1303 + default "mspm0l1304" if SOC_MSPM0L1304 + default "mspm0l1305" if SOC_MSPM0L1305 + default "mspm0l1306" if SOC_MSPM0L1306 + default "mspm0l1343" if SOC_MSPM0L1343 + default "mspm0l1344" if SOC_MSPM0L1344 + default "mspm0l1345" if SOC_MSPM0L1345 + default "mspm0l1346" if SOC_MSPM0L1346 + default "mspm0l2227" if SOC_MSPM0L2227 + default "mspm0l2228" if SOC_MSPM0L2228 diff --git a/soc/ti/mspm0/soc.yml b/soc/ti/mspm0/soc.yml index fa02fa7ea57..732275c28ab 100644 --- a/soc/ti/mspm0/soc.yml +++ b/soc/ti/mspm0/soc.yml @@ -17,3 +17,20 @@ family: - name: mspm0g3506 - name: mspm0g3507 - name: mspm0g3519 + - name: mspm0l + socs: + - name: mspm0l1105 + - name: mspm0l1106 + - name: mspm0l1117 + - name: mspm0l1227 + - name: mspm0l1228 + - name: mspm0l1303 + - name: mspm0l1304 + - name: mspm0l1305 + - name: mspm0l1306 + - name: mspm0l1343 + - name: mspm0l1344 + - name: mspm0l1345 + - name: mspm0l1346 + - name: mspm0l2227 + - name: mspm0l2228