GNU Linux-libre 5.15.137-gnu
[releases.git] / Documentation / devicetree / bindings / watchdog / toshiba,visconti-wdt.yaml
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
8 title: Toshiba Visconti SoCs PIUWDT Watchdog timer
9
10 maintainers:
11   - Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
12
13 allOf:
14   - $ref: watchdog.yaml#
15
16 properties:
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
29 required:
30   - compatible
31   - reg
32   - clocks
33
34 additionalProperties: false
35
36 examples:
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     };