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