1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2# Copyright 2020 Toshiba Electronic Devices & Storage Corporation
3%YAML 1.2
4---
5$id: "http://devicetree.org/schemas/watchdog/toshiba,visconti-wdt.yaml#"
6$schema: "http://devicetree.org/meta-schemas/core.yaml#"
7
8title: Toshiba Visconti SoCs PIUWDT Watchdog timer
9
10maintainers:
11  - Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
12
13allOf:
14  - $ref: watchdog.yaml#
15
16properties:
17  compatible:
18    enum:
19      - toshiba,visconti-wdt
20
21  reg:
22    maxItems: 1
23
24  clocks:
25    maxItems: 1
26
27  timeout-sec: true
28
29required:
30  - compatible
31  - reg
32  - clocks
33
34additionalProperties: false
35
36examples:
37  - |
38    #include <dt-bindings/clock/toshiba,tmpv770x.h>
39
40    soc {
41        #address-cells = <2>;
42        #size-cells = <2>;
43
44        wdt: watchdog@28330000 {
45            compatible = "toshiba,visconti-wdt";
46            reg = <0 0x28330000 0 0x1000>;
47            timeout-sec = <20>;
48            clocks = <&pismu TMPV770X_CLK_WDTCLK>;
49        };
50    };
51