brintos

brintos / linux-shallow public Read only

0
0
Text · 1.0 KiB · a88a273 Raw
56 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/img,pdc-wdt.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ImgTec PowerDown Controller (PDC) Watchdog Timer (WDT)8 9maintainers:10  - Shresth Prasad <shresthprasad7@gmail.com>11 12allOf:13  - $ref: watchdog.yaml#14 15properties:16  compatible:17    enum:18      - img,pdc-wdt19 20  reg:21    maxItems: 122 23  clocks:24    items:25      - description: watchdog counter clock26      - description: register interface clock27 28  clock-names:29    items:30      - const: wdt31      - const: sys32 33  interrupts:34    maxItems: 135 36required:37  - compatible38  - reg39  - clocks40  - clock-names41  - interrupts42 43unevaluatedProperties: false44 45examples:46  - |47    #include <dt-bindings/interrupt-controller/irq.h>48 49    watchdog@18102100 {50      compatible = "img,pdc-wdt";51      reg = <0x18102100 0x100>;52      clocks = <&pdc_wdt_clk>, <&sys_clk>;53      clock-names = "wdt", "sys";54      interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;55    };56