Skip to content

Commit 5b606ae

Browse files
robherringWim Van Sebroeck
authored andcommitted
dt-bindings: watchdog: Convert arm,sbsa-gwdt to DT schema
Convert the arm,sbsa-gwdt binding to DT schema format. Cc: Wim Van Sebroeck <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: Fu Wei <[email protected]> Cc: [email protected] Signed-off-by: Rob Herring <[email protected]> Acked-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 12dbbf0 commit 5b606ae

File tree

2 files changed

+51
-31
lines changed

2 files changed

+51
-31
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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 <[email protected]>
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+
...

Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)