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
27required:
28  - compatible
29  - reg
30  - clocks
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    #include <dt-bindings/clock/toshiba,tmpv770x.h>
37
38    soc {
39        #address-cells = <2>;
40        #size-cells = <2>;
41
42        wdt: watchdog@28330000 {
43            compatible = "toshiba,visconti-wdt";
44            reg = <0 0x28330000 0 0x1000>;
45            timeout-sec = <20>;
46            clocks = <&pismu TMPV770X_CLK_WDTCLK>;
47        };
48    };
49