1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/watchdog/allwinner,sun4i-a10-wdt.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allwinner A10 Watchdog Device Tree Bindings
8
9allOf:
10  - $ref: "watchdog.yaml#"
11
12maintainers:
13  - Chen-Yu Tsai <wens@csie.org>
14  - Maxime Ripard <maxime.ripard@bootlin.com>
15
16properties:
17  compatible:
18    oneOf:
19      - const: allwinner,sun4i-a10-wdt
20      - const: allwinner,sun6i-a31-wdt
21      - items:
22          - const: allwinner,sun50i-a64-wdt
23          - const: allwinner,sun6i-a31-wdt
24      - items:
25          - const: allwinner,sun50i-h6-wdt
26          - const: allwinner,sun6i-a31-wdt
27      - items:
28          - const: allwinner,suniv-f1c100s-wdt
29          - const: allwinner,sun4i-a10-wdt
30
31  reg:
32    maxItems: 1
33
34  clocks:
35    maxItems: 1
36
37  interrupts:
38    maxItems: 1
39
40required:
41  - compatible
42  - reg
43  - clocks
44  - interrupts
45
46unevaluatedProperties: false
47
48examples:
49  - |
50    wdt: watchdog@1c20c90 {
51        compatible = "allwinner,sun4i-a10-wdt";
52        reg = <0x01c20c90 0x10>;
53        interrupts = <24>;
54        clocks = <&osc24M>;
55        timeout-sec = <10>;
56    };
57
58...
59