1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/timer/nxp,tpm-timer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP Low Power Timer/Pulse Width Modulation Module (TPM)
10 - Dong Aisheng <aisheng.dong@nxp.com>
13 The Timer/PWM Module (TPM) supports input capture, output compare,
14 and the generation of PWM signals to control electric motor and power
15 management applications. The counter, compare and capture registers
16 are clocked by an asynchronous clock that can remain enabled in low
17 power modes. TPM can support global counter bus where one TPM drives
18 the counter bus for the others, provided bit width is the same.
22 const: fsl,imx7ulp-tpm
32 - description: SoC TPM ipg clock
33 - description: SoC TPM per clock
47 additionalProperties: false
51 #include <dt-bindings/clock/imx7ulp-clock.h>
52 #include <dt-bindings/interrupt-controller/arm-gic.h>
55 compatible = "fsl,imx7ulp-tpm";
56 reg = <0x40260000 0x1000>;
57 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
58 clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>,
59 <&pcc2 IMX7ULP_CLK_LPTPM5>;
60 clock-names = "ipg", "per";