Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / watchdog / arm,sbsa-gwdt.yaml
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
7 title: SBSA (Server Base System Architecture) Generic Watchdog
8
9 maintainers:
10   - Fu Wei <fu.wei@linaro.org>
11
12 description: |
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
18 allOf:
19   - $ref: watchdog.yaml#
20
21 properties:
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
34 required:
35   - compatible
36   - reg
37   - interrupts
38
39 unevaluatedProperties: false
40
41 examples:
42   - |
43
44     watchdog@2a440000 {
45         compatible = "arm,sbsa-gwdt";
46         reg = <0x2a440000 0x1000>,
47               <0x2a450000 0x1000>;
48         interrupts = <0 27 4>;
49         timeout-sec = <30>;
50     };
51 ...