treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / watchdog / allwinner,sun4i-a10-wdt.yaml
blobe8f226376108178037de849d474715ce2d6d678c
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-h6-wdt
26           - const: allwinner,sun6i-a31-wdt
27       - items:
28           - const: allwinner,suniv-f1c100s-wdt
29           - const: allwinner,sun4i-a10-wdt
31   reg:
32     maxItems: 1
34   clocks:
35     maxItems: 1
37   interrupts:
38     maxItems: 1
40 required:
41   - compatible
42   - reg
43   - clocks
44   - interrupts
46 unevaluatedProperties: false
48 examples:
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     };
58 ...