-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Add support for TI's MSPM0L series #90809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
parthitce
wants to merge
10
commits into
zephyrproject-rtos:main
Choose a base branch
from
linumiz:upstream/ti/mspm0-lx
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+851
−61
Open
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
c5d78d3
manifest: ti: add support for MSPM0L series
parthitce 24e9eee
drivers: pinctrl: add pin function for 11/0xB
parthitce 598a648
soc: ti: mspm0: restructure common files
parthitce 763f6f1
drivers: clock: conditional compile ulpclk udiv divider
parthitce bfa3abb
soc: ti: mspm0: add support for L series
parthitce d6792c2
drivers: gpio: add support for mspm0L series banks
parthitce cb3fb11
drivers: gpio: fix pincm lut size
parthitce ab25fe5
dts: arm: ti/mspm0: add support for L series
parthitce 6f18d93
boards: ti/mspm0: add support for L2228 launchpad
parthitce 5bccce3
drivers: gpio: fix compliance check for clang-format
parthitce File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# TI MSPM0L series | ||
|
||
# Copyright (c) 2025 Texas Instruments | ||
# Copyright (c) 2025 Linumiz GmbH | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
DT_CHOSEN_Z_FLASH := zephyr,flash | ||
|
||
config FLASH_SIZE | ||
default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_FLASH),0,K) | ||
|
||
config FLASH_BASE_ADDRESS | ||
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) | ||
|
||
if SOC_SERIES_MSPM0L | ||
|
||
config NUM_IRQS | ||
default 32 | ||
|
||
endif # SOC_SERIES_MSPM0L |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move into if part below