]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - Bindings/timer/cdns,ttc.yaml
Import DTS from Linux 5.8
[FreeBSD/FreeBSD.git] / Bindings / timer / cdns,ttc.yaml
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
7 title: Cadence TTC - Triple Timer Counter
8
9 maintainers:
10   - Michal Simek <michal.simek@xilinx.com>
11
12 properties:
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   timer-width:
29     $ref: "/schemas/types.yaml#/definitions/uint32"
30     description: |
31       Bit width of the timer, necessary if not 16.
32
33 required:
34   - compatible
35   - reg
36   - interrupts
37   - clocks
38
39 examples:
40   - |
41     ttc0: ttc0@f8001000 {
42         interrupt-parent = <&intc>;
43         interrupts = <0 10 4>, <0 11 4>, <0 12 4>;
44         compatible = "cdns,ttc";
45         reg = <0xF8001000 0x1000>;
46         clocks = <&cpu_clk 3>;
47         timer-width = <32>;
48     };