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