xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/arm,twd-wdt.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1*5956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*5956d97fSEmmanuel Vadot%YAML 1.2
3*5956d97fSEmmanuel Vadot---
4*5956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/watchdog/arm,twd-wdt.yaml#
5*5956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5956d97fSEmmanuel Vadot
7*5956d97fSEmmanuel Vadottitle: ARM Timer-Watchdog Watchdog
8*5956d97fSEmmanuel Vadot
9*5956d97fSEmmanuel Vadotmaintainers:
10*5956d97fSEmmanuel Vadot  - Rob Herring <robh@kernel.org>
11*5956d97fSEmmanuel Vadot
12*5956d97fSEmmanuel Vadotdescription:
13*5956d97fSEmmanuel Vadot  ARM 11MP, Cortex-A5 and Cortex-A9 are often associated with a per-core
14*5956d97fSEmmanuel Vadot  Timer-Watchdog (aka TWD), which provides both a per-cpu local timer
15*5956d97fSEmmanuel Vadot  and watchdog.
16*5956d97fSEmmanuel Vadot
17*5956d97fSEmmanuel Vadot  The TWD is usually attached to a GIC to deliver its two per-processor
18*5956d97fSEmmanuel Vadot  interrupts.
19*5956d97fSEmmanuel Vadot
20*5956d97fSEmmanuel Vadotproperties:
21*5956d97fSEmmanuel Vadot  compatible:
22*5956d97fSEmmanuel Vadot    enum:
23*5956d97fSEmmanuel Vadot      - arm,cortex-a9-twd-wdt
24*5956d97fSEmmanuel Vadot      - arm,cortex-a5-twd-wdt
25*5956d97fSEmmanuel Vadot      - arm,arm11mp-twd-wdt
26*5956d97fSEmmanuel Vadot
27*5956d97fSEmmanuel Vadot  reg:
28*5956d97fSEmmanuel Vadot    maxItems: 1
29*5956d97fSEmmanuel Vadot
30*5956d97fSEmmanuel Vadot  interrupts:
31*5956d97fSEmmanuel Vadot    maxItems: 1
32*5956d97fSEmmanuel Vadot
33*5956d97fSEmmanuel Vadot  clocks:
34*5956d97fSEmmanuel Vadot    maxItems: 1
35*5956d97fSEmmanuel Vadot
36*5956d97fSEmmanuel Vadotrequired:
37*5956d97fSEmmanuel Vadot  - compatible
38*5956d97fSEmmanuel Vadot  - reg
39*5956d97fSEmmanuel Vadot
40*5956d97fSEmmanuel VadotadditionalProperties: false
41*5956d97fSEmmanuel Vadot
42*5956d97fSEmmanuel Vadotexamples:
43*5956d97fSEmmanuel Vadot  - |
44*5956d97fSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
45*5956d97fSEmmanuel Vadot
46*5956d97fSEmmanuel Vadot    watchdog@2c000620 {
47*5956d97fSEmmanuel Vadot        compatible = "arm,arm11mp-twd-wdt";
48*5956d97fSEmmanuel Vadot        reg = <0x2c000620 0x20>;
49*5956d97fSEmmanuel Vadot        interrupts = <GIC_PPI 14 0xf01>;
50*5956d97fSEmmanuel Vadot    };
51