1# 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 9maintainers: 10 - Sven Peter <sven@svenpeter.dev> 11 12allOf: 13 - $ref: watchdog.yaml# 14 15properties: 16 compatible: 17 items: 18 - enum: 19 - apple,s5l8960x-wdt 20 - apple,t7000-wdt 21 - apple,s8000-wdt 22 - apple,t8010-wdt 23 - apple,t8015-wdt 24 - apple,t8103-wdt 25 - apple,t8112-wdt 26 - apple,t6000-wdt 27 - const: apple,wdt 28 29 reg: 30 maxItems: 1 31 32 clocks: 33 maxItems: 1 34 35 interrupts: 36 maxItems: 1 37 38required: 39 - compatible 40 - reg 41 - clocks 42 - interrupts 43 44unevaluatedProperties: false 45 46examples: 47 - | 48 #include <dt-bindings/interrupt-controller/apple-aic.h> 49 #include <dt-bindings/interrupt-controller/irq.h> 50 51 wdt: watchdog@50000000 { 52 compatible = "apple,t8103-wdt", "apple,wdt"; 53 reg = <0x50000000 0x4000>; 54 clocks = <&clk>; 55 interrupts = <AIC_IRQ 123 IRQ_TYPE_LEVEL_HIGH>; 56 }; 57 58... 59