Merge tag 'efi_updates_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / watchdog / allwinner,sun4i-a10-wdt.yaml
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
7 title: Allwinner A10 Watchdog Device Tree Bindings
8
9 allOf:
10   - $ref: "watchdog.yaml#"
11
12 maintainers:
13   - Chen-Yu Tsai <wens@csie.org>
14   - Maxime Ripard <mripard@kernel.org>
15
16 properties:
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
43 required:
44   - compatible
45   - reg
46   - clocks
47   - interrupts
48
49 unevaluatedProperties: false
50
51 examples:
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 ...