1289660a4SCorentin Labbe# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2289660a4SCorentin Labbe%YAML 1.2
3289660a4SCorentin Labbe---
4289660a4SCorentin Labbe$id: http://devicetree.org/schemas/watchdog/faraday,ftwdt010.yaml#
5289660a4SCorentin Labbe$schema: http://devicetree.org/meta-schemas/core.yaml#
6289660a4SCorentin Labbe
7289660a4SCorentin Labbetitle: Faraday Technology FTWDT010 watchdog
8289660a4SCorentin Labbe
9289660a4SCorentin Labbemaintainers:
10289660a4SCorentin Labbe  - Linus Walleij <linus.walleij@linaro.org>
11289660a4SCorentin Labbe  - Corentin Labbe <clabbe@baylibre.com>
12289660a4SCorentin Labbe
13289660a4SCorentin Labbedescription: |
14289660a4SCorentin Labbe  This is an IP part from Faraday Technology found in the Gemini
15289660a4SCorentin Labbe  SoCs and others.
16289660a4SCorentin Labbe
17289660a4SCorentin LabbeallOf:
18289660a4SCorentin Labbe  - $ref: watchdog.yaml#
19289660a4SCorentin Labbe
20289660a4SCorentin Labbeproperties:
21289660a4SCorentin Labbe  compatible:
22289660a4SCorentin Labbe    oneOf:
23289660a4SCorentin Labbe      - const: faraday,ftwdt010
24289660a4SCorentin Labbe      - items:
25289660a4SCorentin Labbe          - enum:
26289660a4SCorentin Labbe              - cortina,gemini-watchdog
27289660a4SCorentin Labbe              - moxa,moxart-watchdog
28289660a4SCorentin Labbe          - const: faraday,ftwdt010
29289660a4SCorentin Labbe
30289660a4SCorentin Labbe  reg:
31289660a4SCorentin Labbe    maxItems: 1
32289660a4SCorentin Labbe
33289660a4SCorentin Labbe  resets:
34289660a4SCorentin Labbe    maxItems: 1
35289660a4SCorentin Labbe
36289660a4SCorentin Labbe  clocks:
37289660a4SCorentin Labbe    maxItems: 1
38289660a4SCorentin Labbe
39289660a4SCorentin Labbe  clock-names:
40289660a4SCorentin Labbe    const: PCLK
41289660a4SCorentin Labbe
42289660a4SCorentin Labbe  interrupts:
43289660a4SCorentin Labbe    maxItems: 1
44289660a4SCorentin Labbe
45289660a4SCorentin Labberequired:
46289660a4SCorentin Labbe  - compatible
47289660a4SCorentin Labbe  - reg
48289660a4SCorentin Labbe
49289660a4SCorentin LabbeunevaluatedProperties: false
50289660a4SCorentin Labbe
51289660a4SCorentin Labbeexamples:
52289660a4SCorentin Labbe  - |
53289660a4SCorentin Labbe    #include <dt-bindings/interrupt-controller/irq.h>
54289660a4SCorentin Labbe    watchdog@41000000 {
55289660a4SCorentin Labbe        compatible = "faraday,ftwdt010";
56289660a4SCorentin Labbe        reg = <0x41000000 0x1000>;
57289660a4SCorentin Labbe        interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
58*e35330f8SRob Herring        timeout-sec = <5>;
59289660a4SCorentin Labbe    };
60289660a4SCorentin Labbe  - |
61289660a4SCorentin Labbe    watchdog: watchdog@98500000 {
62289660a4SCorentin Labbe        compatible = "moxa,moxart-watchdog", "faraday,ftwdt010";
63289660a4SCorentin Labbe        reg = <0x98500000 0x10>;
64289660a4SCorentin Labbe        clocks = <&clk_apb>;
65289660a4SCorentin Labbe        clock-names = "PCLK";
66289660a4SCorentin Labbe    };
67289660a4SCorentin Labbe...
68