soc: ti: mspm0: add support for L series

mspm0 family of SoC series is split into three category,

mspm0g - high performance
mspm0l - low power
mspm0c - entry level

With G already part added, add support for L series of SoC's.

Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
This commit is contained in:
Parthiban Nallathambi 2025-05-29 20:18:22 +05:30 committed by Anas Nashif
parent 6bef297052
commit 4e78996e16
5 changed files with 136 additions and 1 deletions

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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