brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 726dc87 Raw
68 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/faraday,ftwdt010.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Faraday Technology FTWDT010 watchdog8 9maintainers:10  - Linus Walleij <linus.walleij@linaro.org>11  - Corentin Labbe <clabbe@baylibre.com>12 13description: |14  This is an IP part from Faraday Technology found in the Gemini15  SoCs and others.16 17allOf:18  - $ref: watchdog.yaml#19 20properties:21  compatible:22    oneOf:23      - const: faraday,ftwdt01024      - items:25          - enum:26              - cortina,gemini-watchdog27              - moxa,moxart-watchdog28          - const: faraday,ftwdt01029 30  reg:31    maxItems: 132 33  resets:34    maxItems: 135 36  clocks:37    maxItems: 138 39  clock-names:40    const: PCLK41 42  interrupts:43    maxItems: 144 45required:46  - compatible47  - reg48 49unevaluatedProperties: false50 51examples:52  - |53    #include <dt-bindings/interrupt-controller/irq.h>54    watchdog@41000000 {55        compatible = "faraday,ftwdt010";56        reg = <0x41000000 0x1000>;57        interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;58        timeout-sec = <5>;59    };60  - |61    watchdog: watchdog@98500000 {62        compatible = "moxa,moxart-watchdog", "faraday,ftwdt010";63        reg = <0x98500000 0x10>;64        clocks = <&clk_apb>;65        clock-names = "PCLK";66    };67...68