xref: /linux/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml (revision a2fa9f574b2093a6c6312a2d0045759ea7f805ea)
12de4de20SMaxime Ripard# SPDX-License-Identifier: GPL-2.0
22de4de20SMaxime Ripard%YAML 1.2
32de4de20SMaxime Ripard---
42de4de20SMaxime Ripard$id: http://devicetree.org/schemas/watchdog/allwinner,sun4i-a10-wdt.yaml#
52de4de20SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml#
62de4de20SMaxime Ripard
72de4de20SMaxime Ripardtitle: Allwinner A10 Watchdog Device Tree Bindings
82de4de20SMaxime Ripard
92de4de20SMaxime RipardallOf:
102de4de20SMaxime Ripard  - $ref: "watchdog.yaml#"
112de4de20SMaxime Ripard
122de4de20SMaxime Ripardmaintainers:
132de4de20SMaxime Ripard  - Chen-Yu Tsai <wens@csie.org>
145c7404bbSMaxime Ripard  - Maxime Ripard <mripard@kernel.org>
152de4de20SMaxime Ripard
162de4de20SMaxime Ripardproperties:
172de4de20SMaxime Ripard  compatible:
182de4de20SMaxime Ripard    oneOf:
192de4de20SMaxime Ripard      - const: allwinner,sun4i-a10-wdt
202de4de20SMaxime Ripard      - const: allwinner,sun6i-a31-wdt
212de4de20SMaxime Ripard      - items:
22*a2fa9f57SAndre Przywara          - enum:
23*a2fa9f57SAndre Przywara              - allwinner,sun50i-a64-wdt
24*a2fa9f57SAndre Przywara              - allwinner,sun50i-a100-wdt
25*a2fa9f57SAndre Przywara              - allwinner,sun50i-h6-wdt
26*a2fa9f57SAndre Przywara              - allwinner,sun50i-h616-wdt
272de4de20SMaxime Ripard          - const: allwinner,sun6i-a31-wdt
282de4de20SMaxime Ripard      - items:
292de4de20SMaxime Ripard          - const: allwinner,suniv-f1c100s-wdt
302de4de20SMaxime Ripard          - const: allwinner,sun4i-a10-wdt
312de4de20SMaxime Ripard
322de4de20SMaxime Ripard  reg:
332de4de20SMaxime Ripard    maxItems: 1
342de4de20SMaxime Ripard
35284ec100SMaxime Ripard  clocks:
36284ec100SMaxime Ripard    maxItems: 1
37284ec100SMaxime Ripard
38f285e78fSMaxime Ripard  interrupts:
39f285e78fSMaxime Ripard    maxItems: 1
40f285e78fSMaxime Ripard
412de4de20SMaxime Ripardrequired:
422de4de20SMaxime Ripard  - compatible
432de4de20SMaxime Ripard  - reg
44284ec100SMaxime Ripard  - clocks
45f285e78fSMaxime Ripard  - interrupts
462de4de20SMaxime Ripard
472de4de20SMaxime RipardunevaluatedProperties: false
482de4de20SMaxime Ripard
492de4de20SMaxime Ripardexamples:
502de4de20SMaxime Ripard  - |
512de4de20SMaxime Ripard    wdt: watchdog@1c20c90 {
522de4de20SMaxime Ripard        compatible = "allwinner,sun4i-a10-wdt";
532de4de20SMaxime Ripard        reg = <0x01c20c90 0x10>;
54f285e78fSMaxime Ripard        interrupts = <24>;
55284ec100SMaxime Ripard        clocks = <&osc24M>;
562de4de20SMaxime Ripard        timeout-sec = <10>;
572de4de20SMaxime Ripard    };
582de4de20SMaxime Ripard
592de4de20SMaxime Ripard...
60