Skip to content

Commit 4e78996

Browse files
parthitcenashif
authored andcommitted
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 <[email protected]>
1 parent 6bef297 commit 4e78996

File tree

5 files changed

+136
-1
lines changed

5 files changed

+136
-1
lines changed

soc/ti/mspm0/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "SoC Linker Script")
44

5-
add_subdirectory(${SOC_SERIES})
5+
add_subdirectory(common)
66

77
if(CONFIG_SOC_FAMILY_TI_MSPM0)
88
string(TOUPPER ${CONFIG_SOC} SDK_SOC_SELECT)

soc/ti/mspm0/mspm0l/Kconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# TI MSPM0L
2+
3+
# Copyright (c) 2025 Texas Instruments
4+
# Copyright (c) 2025 Linumiz GmbH
5+
# SPDX-License-Identifier: Apache-2.0
6+
7+
config SOC_SERIES_MSPM0L
8+
select ARM
9+
select CPU_CORTEX_M0PLUS
10+
select CPU_CORTEX_M_HAS_VTOR
11+
select CPU_HAS_ARM_MPU
12+
select CPU_CORTEX_M_HAS_SYSTICK
13+
select BUILD_OUTPUT_BIN
14+
select BUILD_OUTPUT_HEX
15+
select HAS_MSPM0_SDK
16+
select CLOCK_CONTROL
17+
select SOC_EARLY_INIT_HOOK

soc/ti/mspm0/mspm0l/Kconfig.defconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# TI MSPM0L series
2+
3+
# Copyright (c) 2025 Texas Instruments
4+
# Copyright (c) 2025 Linumiz GmbH
5+
# SPDX-License-Identifier: Apache-2.0
6+
7+
if SOC_SERIES_MSPM0L
8+
9+
config NUM_IRQS
10+
default 32
11+
12+
endif # SOC_SERIES_MSPM0L

soc/ti/mspm0/mspm0l/Kconfig.soc

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Copyright (c) 2024 Texas Instruments
2+
# Copyright (c) 2025 Linumiz GmbH
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
config SOC_SERIES_MSPM0L
6+
bool
7+
select SOC_FAMILY_TI_MSPM0
8+
help
9+
Enable support for TI MSPM0L series SoCs
10+
11+
config SOC_MSPM0L1105
12+
bool
13+
select SOC_SERIES_MSPM0L
14+
15+
config SOC_MSPM0L1106
16+
bool
17+
select SOC_SERIES_MSPM0L
18+
19+
config SOC_MSPM0L1117
20+
bool
21+
select SOC_SERIES_MSPM0L
22+
23+
config SOC_MSPM0L1227
24+
bool
25+
select SOC_SERIES_MSPM0L
26+
27+
config SOC_MSPM0L1228
28+
bool
29+
select SOC_SERIES_MSPM0L
30+
31+
config SOC_MSPM0L1303
32+
bool
33+
select SOC_SERIES_MSPM0L
34+
35+
config SOC_MSPM0L1304
36+
bool
37+
select SOC_SERIES_MSPM0L
38+
39+
config SOC_MSPM0L1305
40+
bool
41+
select SOC_SERIES_MSPM0L
42+
43+
config SOC_MSPM0L1306
44+
bool
45+
select SOC_SERIES_MSPM0L
46+
47+
config SOC_MSPM0L1343
48+
bool
49+
select SOC_SERIES_MSPM0L
50+
51+
config SOC_MSPM0L1344
52+
bool
53+
select SOC_SERIES_MSPM0L
54+
55+
config SOC_MSPM0L1345
56+
bool
57+
select SOC_SERIES_MSPM0L
58+
59+
config SOC_MSPM0L1346
60+
bool
61+
select SOC_SERIES_MSPM0L
62+
63+
config SOC_MSPM0L2227
64+
bool
65+
select SOC_SERIES_MSPM0L
66+
67+
config SOC_MSPM0L2228
68+
bool
69+
select SOC_SERIES_MSPM0L
70+
71+
config SOC_SERIES
72+
default "mspm0l" if SOC_SERIES_MSPM0L
73+
74+
config SOC
75+
default "mspm0l1105" if SOC_MSPM0L1105
76+
default "mspm0l1106" if SOC_MSPM0L1106
77+
default "mspm0l1117" if SOC_MSPM0L1117
78+
default "mspm0l1227" if SOC_MSPM0L1227
79+
default "mspm0l1228" if SOC_MSPM0L1228
80+
default "mspm0l1303" if SOC_MSPM0L1303
81+
default "mspm0l1304" if SOC_MSPM0L1304
82+
default "mspm0l1305" if SOC_MSPM0L1305
83+
default "mspm0l1306" if SOC_MSPM0L1306
84+
default "mspm0l1343" if SOC_MSPM0L1343
85+
default "mspm0l1344" if SOC_MSPM0L1344
86+
default "mspm0l1345" if SOC_MSPM0L1345
87+
default "mspm0l1346" if SOC_MSPM0L1346
88+
default "mspm0l2227" if SOC_MSPM0L2227
89+
default "mspm0l2228" if SOC_MSPM0L2228

soc/ti/mspm0/soc.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,20 @@ family:
1717
- name: mspm0g3506
1818
- name: mspm0g3507
1919
- name: mspm0g3519
20+
- name: mspm0l
21+
socs:
22+
- name: mspm0l1105
23+
- name: mspm0l1106
24+
- name: mspm0l1117
25+
- name: mspm0l1227
26+
- name: mspm0l1228
27+
- name: mspm0l1303
28+
- name: mspm0l1304
29+
- name: mspm0l1305
30+
- name: mspm0l1306
31+
- name: mspm0l1343
32+
- name: mspm0l1344
33+
- name: mspm0l1345
34+
- name: mspm0l1346
35+
- name: mspm0l2227
36+
- name: mspm0l2228

0 commit comments

Comments
 (0)