Skip to content

Commit dc734e1

Browse files
yangbolu1991carlescufi
authored andcommitted
boards: nxp: imx95_evk: enable TPM2 PWM on M7
Enabled TPM2 for PWM on imx95_evk m7. Signed-off-by: Yangbo Lu <[email protected]>
1 parent 621681f commit dc734e1

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

boards/nxp/imx95_evk/doc/index.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ The Zephyr ``imx95_evk/mimx9596/m7`` board target supports the following hardwar
9393
+-----------+------------+-------------------------------------+
9494
| I2C | on-chip | i2c |
9595
+-----------+------------+-------------------------------------+
96+
| TPM | on-chip | tpm |
97+
+-----------+------------+-------------------------------------+
9698

9799
The Zephyr ``imx95_evk/mimx9596/a55`` and ``imx95_evk/mimx9596/a55/smp`` board targets support
98100
the following hardware features:
@@ -124,6 +126,15 @@ Serial Port
124126
This board configuration uses a single serial communication channel with the
125127
CPU's UART1 for Cortex-A55, UART3 for Cortex-M7.
126128

129+
TPM
130+
---
131+
132+
Two channels are enabled on TPM2 for PWM for M7. Signals can be observerd with
133+
oscilloscope.
134+
Channel 2 signal routed to resistance R881.
135+
Channel 3 signal routed to resistance R882.
136+
137+
127138
Programming and Debugging (A55)
128139
*******************************
129140

boards/nxp/imx95_evk/imx95_evk_mimx9596_m7.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,9 @@
4646
pinctrl-0 = <&sai3_default>;
4747
pinctrl-names = "default";
4848
};
49+
50+
&tpm2 {
51+
pinctrl-0 = <&tpm2_default>;
52+
pinctrl-names = "default";
53+
status = "okay";
54+
};

boards/nxp/imx95_evk/imx95_evk_mimx9596_m7.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ toolchain:
1717
supported:
1818
- uart
1919
- i2c
20+
- pwm
2021
vendor: nxp

0 commit comments

Comments
 (0)