xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/toshiba,visconti-wdt.yaml (revision e32fecd0c2c3ee37c47ee100f169e7eb0282a873)
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    soc {
39        #address-cells = <2>;
40        #size-cells = <2>;
41
42        wdt_clk: wdt-clk {
43            compatible = "fixed-clock";
44            clock-frequency = <150000000>;
45            #clock-cells = <0>;
46        };
47
48        watchdog@28330000 {
49            compatible = "toshiba,visconti-wdt";
50            reg = <0 0x28330000 0 0x1000>;
51            clocks = <&wdt_clk>;
52            timeout-sec = <20>;
53        };
54    };
55