1NXP Low Power Timer/Pulse Width Modulation Module (TPM) 2 3The Timer/PWM Module (TPM) supports input capture, output compare, 4and the generation of PWM signals to control electric motor and power 5management applications. The counter, compare and capture registers 6are clocked by an asynchronous clock that can remain enabled in low 7power modes. TPM can support global counter bus where one TPM drives 8the counter bus for the others, provided bit width is the same. 9 10Required properties: 11 12- compatible : should be "fsl,imx7ulp-tpm" 13- reg : Specifies base physical address and size of the register sets 14 for the clock event device and clock source device. 15- interrupts : Should be the clock event device interrupt. 16- clocks : The clocks provided by the SoC to drive the timer, must contain 17 an entry for each entry in clock-names. 18- clock-names : Must include the following entries: "ipg" and "per". 19 20Example: 21tpm5: tpm@40260000 { 22 compatible = "fsl,imx7ulp-tpm"; 23 reg = <0x40260000 0x1000>; 24 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 25 clocks = <&clks IMX7ULP_CLK_NIC1_BUS_DIV>, 26 <&clks IMX7ULP_CLK_LPTPM5>; 27 clock-names = "ipg", "per"; 28}; 29