Skip to content

Commit d2040d1

Browse files
lucien-nxpkartben
authored andcommitted
boards: nxp: mimxrt1180_evk: add TPM support
add TPM pin setting Record TPM supported in yml and doc Signed-off-by: Lucien Zhao <[email protected]>
1 parent beb1e7b commit d2040d1

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

boards/nxp/mimxrt1180_evk/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ configuration supports the following hardware features:
116116
+-----------+------------+-------------------------------------+
117117
| PWM | on-chip | pwm |
118118
+-----------+------------+-------------------------------------+
119+
| PWM | on-chip | tpm |
120+
+-----------+------------+-------------------------------------+
119121

120122
The default configuration can be found in the defconfig file:
121123
:zephyr_file:`boards/nxp/mimxrt1180_evk/mimxrt1180_evk_mimxrt1189_cm33_defconfig`

boards/nxp/mimxrt1180_evk/mimxrt1180_evk-pinctrl.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,12 @@
137137
slew-rate = "fast";
138138
};
139139
};
140+
141+
pinmux_tpm5: pinmux_tpm5 {
142+
group0 {
143+
pinmux = <&iomuxc_gpio_b1_00_tpm5_ch0>;
144+
drive-strength = "normal";
145+
slew-rate = "slow";
146+
};
147+
};
140148
};

boards/nxp/mimxrt1180_evk/mimxrt1180_evk.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,8 @@
139139
pinctrl-0 = <&pinmux_flexpwm2>;
140140
pinctrl-names = "default";
141141
};
142+
143+
&tpm5 {
144+
pinctrl-0 = <&pinmux_tpm5>;
145+
pinctrl-names = "default";
146+
};

0 commit comments

Comments
 (0)