1*5956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*5956d97fSEmmanuel Vadot%YAML 1.2 3*5956d97fSEmmanuel Vadot--- 4*5956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/timer/renesas,tpu.yaml# 5*5956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5956d97fSEmmanuel Vadot 7*5956d97fSEmmanuel Vadottitle: Renesas H8/300 Timer Pulse Unit 8*5956d97fSEmmanuel Vadot 9*5956d97fSEmmanuel Vadotmaintainers: 10*5956d97fSEmmanuel Vadot - Yoshinori Sato <ysato@users.sourceforge.jp> 11*5956d97fSEmmanuel Vadot 12*5956d97fSEmmanuel Vadotdescription: 13*5956d97fSEmmanuel Vadot The TPU is a 16bit timer/counter with configurable clock inputs and 14*5956d97fSEmmanuel Vadot programmable compare match. 15*5956d97fSEmmanuel Vadot This implementation supports only cascade mode. 16*5956d97fSEmmanuel Vadot 17*5956d97fSEmmanuel Vadotselect: 18*5956d97fSEmmanuel Vadot properties: 19*5956d97fSEmmanuel Vadot compatible: 20*5956d97fSEmmanuel Vadot contains: 21*5956d97fSEmmanuel Vadot const: renesas,tpu 22*5956d97fSEmmanuel Vadot '#pwm-cells': false 23*5956d97fSEmmanuel Vadot required: 24*5956d97fSEmmanuel Vadot - compatible 25*5956d97fSEmmanuel Vadot 26*5956d97fSEmmanuel Vadotproperties: 27*5956d97fSEmmanuel Vadot compatible: 28*5956d97fSEmmanuel Vadot const: renesas,tpu 29*5956d97fSEmmanuel Vadot 30*5956d97fSEmmanuel Vadot reg: 31*5956d97fSEmmanuel Vadot items: 32*5956d97fSEmmanuel Vadot - description: First channel 33*5956d97fSEmmanuel Vadot - description: Second channel 34*5956d97fSEmmanuel Vadot 35*5956d97fSEmmanuel Vadot clocks: 36*5956d97fSEmmanuel Vadot maxItems: 1 37*5956d97fSEmmanuel Vadot 38*5956d97fSEmmanuel Vadot clock-names: 39*5956d97fSEmmanuel Vadot const: fck 40*5956d97fSEmmanuel Vadot 41*5956d97fSEmmanuel Vadotrequired: 42*5956d97fSEmmanuel Vadot - compatible 43*5956d97fSEmmanuel Vadot - reg 44*5956d97fSEmmanuel Vadot - clocks 45*5956d97fSEmmanuel Vadot - clock-names 46*5956d97fSEmmanuel Vadot 47*5956d97fSEmmanuel VadotadditionalProperties: false 48*5956d97fSEmmanuel Vadot 49*5956d97fSEmmanuel Vadotexamples: 50*5956d97fSEmmanuel Vadot - | 51*5956d97fSEmmanuel Vadot tpu: tpu@ffffe0 { 52*5956d97fSEmmanuel Vadot compatible = "renesas,tpu"; 53*5956d97fSEmmanuel Vadot reg = <0xffffe0 16>, <0xfffff0 12>; 54*5956d97fSEmmanuel Vadot clocks = <&pclk>; 55*5956d97fSEmmanuel Vadot clock-names = "fck"; 56*5956d97fSEmmanuel Vadot }; 57