WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / watchdog / allwinner,sun4i-a10-wdt.yaml
blob5ac607de8be41e572ab094b00c7c8e1b260e3c05
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#
7 title: Allwinner A10 Watchdog Device Tree Bindings
9 allOf:
10   - $ref: "watchdog.yaml#"
12 maintainers:
13   - Chen-Yu Tsai <wens@csie.org>
14   - Maxime Ripard <mripard@kernel.org>
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
34   reg:
35     maxItems: 1
37   clocks:
38     maxItems: 1
40   interrupts:
41     maxItems: 1
43 required:
44   - compatible
45   - reg
46   - clocks
47   - interrupts
49 unevaluatedProperties: false
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     };
61 ...