xref: /linux/Documentation/devicetree/bindings/watchdog/airoha,en7581-wdt.yaml (revision 7a5f93ea5862da91488975acaa0c7abd508f192b)
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
7title: Airoha EN7581 Watchdog Timer
8
9maintainers:
10  - Christian Marangi <ansuelsmth@gmail.com>
11
12allOf:
13  - $ref: watchdog.yaml#
14
15properties:
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
29required:
30  - compatible
31  - reg
32  - clocks
33  - clock-names
34
35unevaluatedProperties: false
36
37examples:
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    };
48