nxp,tpm-timer

Description

NXP Timer/PWM Module (TPM) used as timer

A TPM channel can also timestamp an edge on its TPMx_CHn pad (input capture).
The capture input is the pad itself, so the pad must be muxed to the channel
through the pinctrl "default" state, and the channel number in a
"counter-captures" phandle-array selects which pad is sampled.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

prescaler

int

Input clock prescaler

This property is required.

Legal values: 1, 2, 4, 8, 16, 32, 64, 128

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

Specifier cell names

  • counter-capture cells: channel, flags