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