xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/arm,sbsa-gwdt.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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,sbsa-gwdt.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: SBSA (Server Base System Architecture) Generic Watchdog
8
9maintainers:
10  - Fu Wei <fu.wei@linaro.org>
11
12description: |
13  The SBSA Generic Watchdog Timer is used to force a reset of the system after
14  two stages of timeout have elapsed. A detailed definition of the watchdog
15  timer can be found in the ARM document: ARM-DEN-0029 - Server Base System
16  Architecture (SBSA)
17
18allOf:
19  - $ref: watchdog.yaml#
20
21properties:
22  compatible:
23    const: arm,sbsa-gwdt
24
25  reg:
26    items:
27      - description: Watchdog control frame
28      - description: Refresh frame
29
30  interrupts:
31    description: The Watchdog Signal 0 (WS0) SPI (Shared Peripheral Interrupt)
32    maxItems: 1
33
34required:
35  - compatible
36  - reg
37  - interrupts
38
39unevaluatedProperties: false
40
41examples:
42  - |
43    watchdog@2a440000 {
44        compatible = "arm,sbsa-gwdt";
45        reg = <0x2a440000 0x1000>,
46              <0x2a450000 0x1000>;
47        interrupts = <0 27 4>;
48        timeout-sec = <30>;
49    };
50...
51