xref: /linux/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml (revision 1f21734b14b4cc93d82374108a549b42a7672c4c)
19e965286SSven Peter# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
29e965286SSven Peter%YAML 1.2
39e965286SSven Peter---
49e965286SSven Peter$id: http://devicetree.org/schemas/watchdog/apple,wdt.yaml#
59e965286SSven Peter$schema: http://devicetree.org/meta-schemas/core.yaml#
69e965286SSven Peter
79e965286SSven Petertitle: Apple SoC Watchdog
89e965286SSven Peter
99e965286SSven PeterallOf:
109e965286SSven Peter  - $ref: "watchdog.yaml#"
119e965286SSven Peter
129e965286SSven Petermaintainers:
139e965286SSven Peter  - Sven Peter <sven@svenpeter.dev>
149e965286SSven Peter
159e965286SSven Peterproperties:
169e965286SSven Peter  compatible:
179e965286SSven Peter    items:
189e965286SSven Peter      - enum:
199e965286SSven Peter          - apple,t8103-wdt
20*1f21734bSJanne Grunau          - apple,t8112-wdt
219e965286SSven Peter          - apple,t6000-wdt
229e965286SSven Peter      - const: apple,wdt
239e965286SSven Peter
249e965286SSven Peter  reg:
259e965286SSven Peter    maxItems: 1
269e965286SSven Peter
279e965286SSven Peter  clocks:
289e965286SSven Peter    maxItems: 1
299e965286SSven Peter
309e965286SSven Peter  interrupts:
319e965286SSven Peter    maxItems: 1
329e965286SSven Peter
339e965286SSven Peterrequired:
349e965286SSven Peter  - compatible
359e965286SSven Peter  - reg
369e965286SSven Peter  - clocks
379e965286SSven Peter  - interrupts
389e965286SSven Peter
399e965286SSven PeterunevaluatedProperties: false
409e965286SSven Peter
419e965286SSven Peterexamples:
429e965286SSven Peter  - |
439e965286SSven Peter    #include <dt-bindings/interrupt-controller/apple-aic.h>
449e965286SSven Peter    #include <dt-bindings/interrupt-controller/irq.h>
459e965286SSven Peter
469e965286SSven Peter    wdt: watchdog@50000000 {
479e965286SSven Peter        compatible = "apple,t8103-wdt", "apple,wdt";
489e965286SSven Peter        reg = <0x50000000 0x4000>;
499e965286SSven Peter        clocks = <&clk>;
509e965286SSven Peter        interrupts = <AIC_IRQ 123 IRQ_TYPE_LEVEL_HIGH>;
519e965286SSven Peter    };
529e965286SSven Peter
539e965286SSven Peter...
54