Commit d2040d10 authored by Lucien Zhao's avatar Lucien Zhao Committed by Benjamin Cabé
Browse files

boards: nxp: mimxrt1180_evk: add TPM support

add TPM pin setting
Record TPM supported in yml and doc

Signed-off-by: default avatarLucien Zhao <lucien.zhao@nxp.com>
parent beb1e7b3
Loading
Loading
Loading
Loading
+2 −0
Changes for boards/nxp/mimxrt1180_evk/doc/index.rst: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -116,6 +116,8 @@ configuration supports the following hardware features:
+-----------+------------+-------------------------------------+
| PWM       | on-chip    | pwm                                 |
+-----------+------------+-------------------------------------+
| PWM       | on-chip    | tpm                                 |
+-----------+------------+-------------------------------------+

The default configuration can be found in the defconfig file:
:zephyr_file:`boards/nxp/mimxrt1180_evk/mimxrt1180_evk_mimxrt1189_cm33_defconfig`
+8 −0
Changes for boards/nxp/mimxrt1180_evk/mimxrt1180_evk-pinctrl.dtsi: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -137,4 +137,12 @@
			slew-rate = "fast";
		};
	};

	pinmux_tpm5: pinmux_tpm5 {
		group0 {
			pinmux = <&iomuxc_gpio_b1_00_tpm5_ch0>;
			drive-strength = "normal";
			slew-rate = "slow";
		};
	};
};
+5 −0
Changes for boards/nxp/mimxrt1180_evk/mimxrt1180_evk.dtsi: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -139,3 +139,8 @@
	pinctrl-0 = <&pinmux_flexpwm2>;
	pinctrl-names = "default";
};

&tpm5 {
	pinctrl-0 = <&pinmux_tpm5>;
	pinctrl-names = "default";
};