Skip to content

Commit 2e42ab3

Browse files
b85a540eaRazvan Heghedus
authored andcommitted
dev: ti: mspm0: l: Add common pinmux for MSPM0L111x
Since MSPM0L111x and MSPM0L222x have a common pin configuration for some of the pins, the mspm0l111x-222x-common-pinctrl.dtsi file is added with the shared pin configuration. The MSPM0L222x dtsi is modified to take advantage of this. The naming convetion was kept from the original 222x variant, with some modifications for SPI CS pins which didn't correctly reflect their function. For example, there was: `spi0_cs3_cd_poci3_pa01: spi0_cs3_cd_poci3_pa01` node for the PINCM2 function 10 which in data sheet is named only SPI0_CS3, and now the node is named: `spi0_cs3_pa01: spi0_cs3_pa01`. As for MSPM0L111x: - All pins support being used as GPIO. - Use input-enable for all PIN TYPE I on datasheet + SPI POCI pins. - Define MSPM0_PIN_FUNCTION_ANALOG for every pin which is unconnected state (essentially needed for low power consumption). Link: https://www.ti.com/lit/ds/symlink/mspm0l1116.pdf Link: https://www.ti.com/lit/ds/symlink/mspm0l2228.pdf Signed-off-by: Razvan Heghedus <razvan.heghedus@protonmail.com>
1 parent 2fc1a1b commit 2e42ab3

File tree

3 files changed

+3885
-2890
lines changed

3 files changed

+3885
-2890
lines changed

0 commit comments

Comments
 (0)