xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/apple,wdt.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2e67e8565SEmmanuel Vadot%YAML 1.2
3e67e8565SEmmanuel Vadot---
4e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/watchdog/apple,wdt.yaml#
5e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6e67e8565SEmmanuel Vadot
7e67e8565SEmmanuel Vadottitle: Apple SoC Watchdog
8e67e8565SEmmanuel Vadot
9e67e8565SEmmanuel Vadotmaintainers:
10e67e8565SEmmanuel Vadot  - Sven Peter <sven@svenpeter.dev>
11e67e8565SEmmanuel Vadot
12*8d13bc63SEmmanuel VadotallOf:
13*8d13bc63SEmmanuel Vadot  - $ref: watchdog.yaml#
14*8d13bc63SEmmanuel Vadot
15e67e8565SEmmanuel Vadotproperties:
16e67e8565SEmmanuel Vadot  compatible:
17e67e8565SEmmanuel Vadot    items:
18e67e8565SEmmanuel Vadot      - enum:
19e67e8565SEmmanuel Vadot          - apple,t8103-wdt
20fac71e4eSEmmanuel Vadot          - apple,t8112-wdt
21e67e8565SEmmanuel Vadot          - apple,t6000-wdt
22e67e8565SEmmanuel Vadot      - const: apple,wdt
23e67e8565SEmmanuel Vadot
24e67e8565SEmmanuel Vadot  reg:
25e67e8565SEmmanuel Vadot    maxItems: 1
26e67e8565SEmmanuel Vadot
27e67e8565SEmmanuel Vadot  clocks:
28e67e8565SEmmanuel Vadot    maxItems: 1
29e67e8565SEmmanuel Vadot
30e67e8565SEmmanuel Vadot  interrupts:
31e67e8565SEmmanuel Vadot    maxItems: 1
32e67e8565SEmmanuel Vadot
33e67e8565SEmmanuel Vadotrequired:
34e67e8565SEmmanuel Vadot  - compatible
35e67e8565SEmmanuel Vadot  - reg
36e67e8565SEmmanuel Vadot  - clocks
37e67e8565SEmmanuel Vadot  - interrupts
38e67e8565SEmmanuel Vadot
39e67e8565SEmmanuel VadotunevaluatedProperties: false
40e67e8565SEmmanuel Vadot
41e67e8565SEmmanuel Vadotexamples:
42e67e8565SEmmanuel Vadot  - |
43e67e8565SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/apple-aic.h>
44e67e8565SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
45e67e8565SEmmanuel Vadot
46e67e8565SEmmanuel Vadot    wdt: watchdog@50000000 {
47e67e8565SEmmanuel Vadot        compatible = "apple,t8103-wdt", "apple,wdt";
48e67e8565SEmmanuel Vadot        reg = <0x50000000 0x4000>;
49e67e8565SEmmanuel Vadot        clocks = <&clk>;
50e67e8565SEmmanuel Vadot        interrupts = <AIC_IRQ 123 IRQ_TYPE_LEVEL_HIGH>;
51e67e8565SEmmanuel Vadot    };
52e67e8565SEmmanuel Vadot
53e67e8565SEmmanuel Vadot...
54