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 <mripard@kernel.org>
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-a100-wdt
26          - const: allwinner,sun6i-a31-wdt
27      - items:
28          - const: allwinner,sun50i-h6-wdt
29          - const: allwinner,sun6i-a31-wdt
30      - items:
31          - const: allwinner,suniv-f1c100s-wdt
32          - const: allwinner,sun4i-a10-wdt
33
34  reg:
35    maxItems: 1
36
37  clocks:
38    maxItems: 1
39
40  interrupts:
41    maxItems: 1
42
43required:
44  - compatible
45  - reg
46  - clocks
47  - interrupts
48
49unevaluatedProperties: false
50
51examples:
52  - |
53    wdt: watchdog@1c20c90 {
54        compatible = "allwinner,sun4i-a10-wdt";
55        reg = <0x01c20c90 0x10>;
56        interrupts = <24>;
57        clocks = <&osc24M>;
58        timeout-sec = <10>;
59    };
60
61...
62