xref: /linux/Documentation/devicetree/bindings/watchdog/airoha,en7581-wdt.yaml (revision 42d52acfb10cfc53139a1139e1c401a52c3f924c)
1*bcbd7b2bSChristian Marangi# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*bcbd7b2bSChristian Marangi%YAML 1.2
3*bcbd7b2bSChristian Marangi---
4*bcbd7b2bSChristian Marangi$id: http://devicetree.org/schemas/watchdog/airoha,en7581-wdt.yaml#
5*bcbd7b2bSChristian Marangi$schema: http://devicetree.org/meta-schemas/core.yaml#
6*bcbd7b2bSChristian Marangi
7*bcbd7b2bSChristian Marangititle: Airoha EN7581 Watchdog Timer
8*bcbd7b2bSChristian Marangi
9*bcbd7b2bSChristian Marangimaintainers:
10*bcbd7b2bSChristian Marangi  - Christian Marangi <ansuelsmth@gmail.com>
11*bcbd7b2bSChristian Marangi
12*bcbd7b2bSChristian MarangiallOf:
13*bcbd7b2bSChristian Marangi  - $ref: watchdog.yaml#
14*bcbd7b2bSChristian Marangi
15*bcbd7b2bSChristian Marangiproperties:
16*bcbd7b2bSChristian Marangi  compatible:
17*bcbd7b2bSChristian Marangi    const: airoha,en7581-wdt
18*bcbd7b2bSChristian Marangi
19*bcbd7b2bSChristian Marangi  reg:
20*bcbd7b2bSChristian Marangi    maxItems: 1
21*bcbd7b2bSChristian Marangi
22*bcbd7b2bSChristian Marangi  clocks:
23*bcbd7b2bSChristian Marangi    description: BUS clock (timer ticks at half the BUS clock)
24*bcbd7b2bSChristian Marangi    maxItems: 1
25*bcbd7b2bSChristian Marangi
26*bcbd7b2bSChristian Marangi  clock-names:
27*bcbd7b2bSChristian Marangi    const: bus
28*bcbd7b2bSChristian Marangi
29*bcbd7b2bSChristian Marangirequired:
30*bcbd7b2bSChristian Marangi  - compatible
31*bcbd7b2bSChristian Marangi  - reg
32*bcbd7b2bSChristian Marangi  - clocks
33*bcbd7b2bSChristian Marangi  - clock-names
34*bcbd7b2bSChristian Marangi
35*bcbd7b2bSChristian MarangiunevaluatedProperties: false
36*bcbd7b2bSChristian Marangi
37*bcbd7b2bSChristian Marangiexamples:
38*bcbd7b2bSChristian Marangi  - |
39*bcbd7b2bSChristian Marangi    #include <dt-bindings/clock/en7523-clk.h>
40*bcbd7b2bSChristian Marangi
41*bcbd7b2bSChristian Marangi    watchdog@1fbf0100 {
42*bcbd7b2bSChristian Marangi        compatible = "airoha,en7581-wdt";
43*bcbd7b2bSChristian Marangi        reg = <0x1fbf0100 0x3c>;
44*bcbd7b2bSChristian Marangi
45*bcbd7b2bSChristian Marangi        clocks = <&scuclk EN7523_CLK_BUS>;
46*bcbd7b2bSChristian Marangi        clock-names = "bus";
47*bcbd7b2bSChristian Marangi    };
48