Skip to content

Commit bcbd7b2

Browse files
AnsuelWim Van Sebroeck
authored andcommitted
dt-bindings: watchdog: airoha: document watchdog for Airoha EN7581
Document watchdog for Airoha EN7581. This SoC implement a simple watchdog that supports a max timeout of 28 seconds. The watchdog ticks on half the BUS clock and requires the BUS clock to be referenced. Signed-off-by: Christian Marangi <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-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 39885f2 commit bcbd7b2

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/watchdog/airoha,en7581-wdt.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Airoha EN7581 Watchdog Timer
8+
9+
maintainers:
10+
- Christian Marangi <[email protected]>
11+
12+
allOf:
13+
- $ref: watchdog.yaml#
14+
15+
properties:
16+
compatible:
17+
const: airoha,en7581-wdt
18+
19+
reg:
20+
maxItems: 1
21+
22+
clocks:
23+
description: BUS clock (timer ticks at half the BUS clock)
24+
maxItems: 1
25+
26+
clock-names:
27+
const: bus
28+
29+
required:
30+
- compatible
31+
- reg
32+
- clocks
33+
- clock-names
34+
35+
unevaluatedProperties: false
36+
37+
examples:
38+
- |
39+
#include <dt-bindings/clock/en7523-clk.h>
40+
41+
watchdog@1fbf0100 {
42+
compatible = "airoha,en7581-wdt";
43+
reg = <0x1fbf0100 0x3c>;
44+
45+
clocks = <&scuclk EN7523_CLK_BUS>;
46+
clock-names = "bus";
47+
};

0 commit comments

Comments
 (0)