Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/timer/cdns,ttc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Cadence TTC - Triple Timer Counter
0008 
0009 maintainers:
0010   - Michal Simek <michal.simek@xilinx.com>
0011 
0012 properties:
0013   compatible:
0014     const: cdns,ttc
0015 
0016   reg:
0017     maxItems: 1
0018 
0019   interrupts:
0020     maxItems: 3
0021     description: |
0022       A list of 3 interrupts; one per timer channel.
0023 
0024   clocks:
0025     maxItems: 1
0026 
0027   power-domains:
0028     maxItems: 1
0029 
0030   timer-width:
0031     $ref: "/schemas/types.yaml#/definitions/uint32"
0032     description: |
0033       Bit width of the timer, necessary if not 16.
0034 
0035 required:
0036   - compatible
0037   - reg
0038   - interrupts
0039   - clocks
0040 
0041 additionalProperties: false
0042 
0043 examples:
0044   - |
0045     ttc0: ttc0@f8001000 {
0046         interrupt-parent = <&intc>;
0047         interrupts = <0 10 4>, <0 11 4>, <0 12 4>;
0048         compatible = "cdns,ttc";
0049         reg = <0xF8001000 0x1000>;
0050         clocks = <&cpu_clk 3>;
0051         timer-width = <32>;
0052     };