1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/timer/cdns,ttc.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Cadence TTC - Triple Timer Counter 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Michal Simek <michal.simek@xilinx.com> 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadotproperties: 13*c66ec88fSEmmanuel Vadot compatible: 14*c66ec88fSEmmanuel Vadot const: cdns,ttc 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadot reg: 17*c66ec88fSEmmanuel Vadot maxItems: 1 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel Vadot interrupts: 20*c66ec88fSEmmanuel Vadot minItems: 3 21*c66ec88fSEmmanuel Vadot maxItems: 3 22*c66ec88fSEmmanuel Vadot description: | 23*c66ec88fSEmmanuel Vadot A list of 3 interrupts; one per timer channel. 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot clocks: 26*c66ec88fSEmmanuel Vadot maxItems: 1 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot timer-width: 29*c66ec88fSEmmanuel Vadot $ref: "/schemas/types.yaml#/definitions/uint32" 30*c66ec88fSEmmanuel Vadot description: | 31*c66ec88fSEmmanuel Vadot Bit width of the timer, necessary if not 16. 32*c66ec88fSEmmanuel Vadot 33*c66ec88fSEmmanuel Vadotrequired: 34*c66ec88fSEmmanuel Vadot - compatible 35*c66ec88fSEmmanuel Vadot - reg 36*c66ec88fSEmmanuel Vadot - interrupts 37*c66ec88fSEmmanuel Vadot - clocks 38*c66ec88fSEmmanuel Vadot 39*c66ec88fSEmmanuel Vadotexamples: 40*c66ec88fSEmmanuel Vadot - | 41*c66ec88fSEmmanuel Vadot ttc0: ttc0@f8001000 { 42*c66ec88fSEmmanuel Vadot interrupt-parent = <&intc>; 43*c66ec88fSEmmanuel Vadot interrupts = <0 10 4>, <0 11 4>, <0 12 4>; 44*c66ec88fSEmmanuel Vadot compatible = "cdns,ttc"; 45*c66ec88fSEmmanuel Vadot reg = <0xF8001000 0x1000>; 46*c66ec88fSEmmanuel Vadot clocks = <&cpu_clk 3>; 47*c66ec88fSEmmanuel Vadot timer-width = <32>; 48*c66ec88fSEmmanuel Vadot }; 49