Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / timer / cdns,ttc.yaml
blob8615353f69b4fa76db7c3bdeb725724fd3e8d299
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#
7 title: Cadence TTC - Triple Timer Counter
9 maintainers:
10   - Michal Simek <michal.simek@xilinx.com>
12 properties:
13   compatible:
14     const: cdns,ttc
16   reg:
17     maxItems: 1
19   interrupts:
20     minItems: 3
21     maxItems: 3
22     description: |
23       A list of 3 interrupts; one per timer channel.
25   clocks:
26     maxItems: 1
28   timer-width:
29     $ref: "/schemas/types.yaml#/definitions/uint32"
30     description: |
31       Bit width of the timer, necessary if not 16.
33 required:
34   - compatible
35   - reg
36   - interrupts
37   - clocks
39 additionalProperties: false
41 examples:
42   - |
43     ttc0: ttc0@f8001000 {
44         interrupt-parent = <&intc>;
45         interrupts = <0 10 4>, <0 11 4>, <0 12 4>;
46         compatible = "cdns,ttc";
47         reg = <0xF8001000 0x1000>;
48         clocks = <&cpu_clk 3>;
49         timer-width = <32>;
50     };