xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/mediatek,mt7621-wdt.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/watchdog/mediatek,mt7621-wdt.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Ralink Watchdog Timers
8
9maintainers:
10  - Sergio Paracuellos <sergio.paracuellos@gmail.com>
11
12allOf:
13  - $ref: watchdog.yaml#
14
15properties:
16  compatible:
17    const: mediatek,mt7621-wdt
18
19  reg:
20    maxItems: 1
21
22  mediatek,sysctl:
23    $ref: /schemas/types.yaml#/definitions/phandle
24    description:
25      phandle to system controller 'sysc' syscon node which
26      controls system registers
27
28required:
29  - compatible
30  - reg
31
32additionalProperties: false
33
34examples:
35  - |
36    watchdog@100 {
37        compatible = "mediatek,mt7621-wdt";
38        reg = <0x100 0x100>;
39        mediatek,sysctl = <&sysc>;
40    };
41