blob: 21872e15916cadd73392e7dede2d9389fcf88ef5 [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/apple,wdt.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Apple SoC Watchdog
8
Tom Rini53633a82024-02-29 12:33:36 -05009maintainers:
10 - Sven Peter <sven@svenpeter.dev>
11
Tom Rini93743d22024-04-01 09:08:13 -040012allOf:
13 - $ref: watchdog.yaml#
14
Tom Rini53633a82024-02-29 12:33:36 -050015properties:
16 compatible:
17 items:
18 - enum:
19 - apple,t8103-wdt
20 - apple,t8112-wdt
21 - apple,t6000-wdt
22 - const: apple,wdt
23
24 reg:
25 maxItems: 1
26
27 clocks:
28 maxItems: 1
29
30 interrupts:
31 maxItems: 1
32
33required:
34 - compatible
35 - reg
36 - clocks
37 - interrupts
38
39unevaluatedProperties: false
40
41examples:
42 - |
43 #include <dt-bindings/interrupt-controller/apple-aic.h>
44 #include <dt-bindings/interrupt-controller/irq.h>
45
46 wdt: watchdog@50000000 {
47 compatible = "apple,t8103-wdt", "apple,wdt";
48 reg = <0x50000000 0x4000>;
49 clocks = <&clk>;
50 interrupts = <AIC_IRQ 123 IRQ_TYPE_LEVEL_HIGH>;
51 };
52
53...