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