brintos

brintos / linux-shallow public Read only

0
0
Text · 972 B · 21872e1 Raw
54 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/watchdog/apple,wdt.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Apple SoC Watchdog8 9maintainers:10  - Sven Peter <sven@svenpeter.dev>11 12allOf:13  - $ref: watchdog.yaml#14 15properties:16  compatible:17    items:18      - enum:19          - apple,t8103-wdt20          - apple,t8112-wdt21          - apple,t6000-wdt22      - const: apple,wdt23 24  reg:25    maxItems: 126 27  clocks:28    maxItems: 129 30  interrupts:31    maxItems: 132 33required:34  - compatible35  - reg36  - clocks37  - interrupts38 39unevaluatedProperties: false40 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...54