blob: 84732cb58ec44d05ccc608478f96f8b37f51e99d [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/watchdog/amlogic,meson6-wdt.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Amlogic Meson6 SoCs Watchdog timer
8
9maintainers:
10 - Neil Armstrong <neil.armstrong@linaro.org>
11 - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
12
13allOf:
14 - $ref: watchdog.yaml#
15
16properties:
17 compatible:
18 oneOf:
19 - enum:
20 - amlogic,meson6-wdt
21 - amlogic,meson8-wdt
22 - amlogic,meson8b-wdt
23 - items:
24 - const: amlogic,meson8m2-wdt
25 - const: amlogic,meson8b-wdt
26
27 interrupts:
28 maxItems: 1
29
30 reg:
31 maxItems: 1
32
33required:
34 - compatible
35 - interrupts
36 - reg
37
38unevaluatedProperties: false
39
40examples:
41 - |
42 #include <dt-bindings/interrupt-controller/irq.h>
43 #include <dt-bindings/interrupt-controller/arm-gic.h>
44
45 wdt: watchdog@c1109900 {
46 compatible = "amlogic,meson6-wdt";
47 reg = <0xc1109900 0x8>;
48 interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
49 timeout-sec = <10>;
50 };