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/arm,twd-timer.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: ARM Timer-Watchdog Timer
0008 
0009 maintainers:
0010   - Rob Herring <robh@kernel.org>
0011 
0012 description:
0013   ARM 11MP, Cortex-A5 and Cortex-A9 are often associated with a per-core
0014   Timer-Watchdog (aka TWD), which provides both a per-cpu local timer
0015   and watchdog.
0016 
0017   The TWD is usually attached to a GIC to deliver its two per-processor
0018   interrupts.
0019 
0020 properties:
0021   compatible:
0022     enum:
0023       - arm,cortex-a9-twd-timer
0024       - arm,cortex-a5-twd-timer
0025       - arm,arm11mp-twd-timer
0026 
0027   reg:
0028     maxItems: 1
0029 
0030   interrupts:
0031     maxItems: 1
0032 
0033   clocks:
0034     maxItems: 1
0035 
0036   always-on:
0037     description:
0038       If present, the timer is powered through an always-on power domain,
0039       therefore it never loses context.
0040 
0041 required:
0042   - compatible
0043   - reg
0044   - interrupts
0045 
0046 additionalProperties: false
0047 
0048 examples:
0049   - |
0050     #include <dt-bindings/interrupt-controller/arm-gic.h>
0051 
0052     timer@2c000600 {
0053             compatible = "arm,arm11mp-twd-timer";
0054             reg = <0x2c000600 0x20>;
0055             interrupts = <GIC_PPI 13 0xf01>;
0056     };