xref: /linux/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml (revision 84e85359f4999a439aa12e04bf0ae9e13e00fc66)
1606f53b0SBenjamin Gaignard# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2606f53b0SBenjamin Gaignard%YAML 1.2
3606f53b0SBenjamin Gaignard---
4606f53b0SBenjamin Gaignard$id: http://devicetree.org/schemas/watchdog/st,stm32-iwdg.yaml#
5606f53b0SBenjamin Gaignard$schema: http://devicetree.org/meta-schemas/core.yaml#
6606f53b0SBenjamin Gaignard
7*84e85359SKrzysztof Kozlowskititle: STMicroelectronics STM32 Independent WatchDoG (IWDG)
8606f53b0SBenjamin Gaignard
9606f53b0SBenjamin Gaignardmaintainers:
10f4eedebdSPatrice Chotard  - Yannick Fertre <yannick.fertre@foss.st.com>
11f4eedebdSPatrice Chotard  - Christophe Roullier <christophe.roullier@foss.st.com>
12606f53b0SBenjamin Gaignard
13606f53b0SBenjamin GaignardallOf:
14606f53b0SBenjamin Gaignard  - $ref: "watchdog.yaml#"
15606f53b0SBenjamin Gaignard
16606f53b0SBenjamin Gaignardproperties:
17606f53b0SBenjamin Gaignard  compatible:
18606f53b0SBenjamin Gaignard    enum:
19606f53b0SBenjamin Gaignard      - st,stm32-iwdg
20606f53b0SBenjamin Gaignard      - st,stm32mp1-iwdg
21606f53b0SBenjamin Gaignard
22606f53b0SBenjamin Gaignard  reg:
23606f53b0SBenjamin Gaignard    maxItems: 1
24606f53b0SBenjamin Gaignard
25606f53b0SBenjamin Gaignard  clocks:
26606f53b0SBenjamin Gaignard    items:
27606f53b0SBenjamin Gaignard      - description: Low speed clock
28606f53b0SBenjamin Gaignard      - description: Optional peripheral clock
29606f53b0SBenjamin Gaignard    minItems: 1
30606f53b0SBenjamin Gaignard
31606f53b0SBenjamin Gaignard  clock-names:
32606f53b0SBenjamin Gaignard    items:
33606f53b0SBenjamin Gaignard      enum:
34606f53b0SBenjamin Gaignard        - lsi
35606f53b0SBenjamin Gaignard        - pclk
36606f53b0SBenjamin Gaignard    minItems: 1
37606f53b0SBenjamin Gaignard    maxItems: 2
38606f53b0SBenjamin Gaignard
39606f53b0SBenjamin Gaignardrequired:
40606f53b0SBenjamin Gaignard  - compatible
41606f53b0SBenjamin Gaignard  - reg
42606f53b0SBenjamin Gaignard  - clocks
43606f53b0SBenjamin Gaignard  - clock-names
44606f53b0SBenjamin Gaignard
456fdc6e23SRob HerringunevaluatedProperties: false
466fdc6e23SRob Herring
47606f53b0SBenjamin Gaignardexamples:
48606f53b0SBenjamin Gaignard  - |
49606f53b0SBenjamin Gaignard    #include <dt-bindings/clock/stm32mp1-clks.h>
50606f53b0SBenjamin Gaignard    watchdog@5a002000 {
51606f53b0SBenjamin Gaignard      compatible = "st,stm32mp1-iwdg";
52606f53b0SBenjamin Gaignard      reg = <0x5a002000 0x400>;
53606f53b0SBenjamin Gaignard      clocks = <&rcc IWDG2>, <&rcc CK_LSI>;
54606f53b0SBenjamin Gaignard      clock-names = "pclk", "lsi";
55606f53b0SBenjamin Gaignard      timeout-sec = <32>;
56606f53b0SBenjamin Gaignard    };
57606f53b0SBenjamin Gaignard
58606f53b0SBenjamin Gaignard...
59