Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / watchdog / st,stm32-iwdg.yaml
blob3f1ba1d6c6b513e009b2430c8fdd2f3ace1dff27
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/watchdog/st,stm32-iwdg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 Independent WatchDoG (IWDG) bindings
9 maintainers:
10   - Yannick Fertre <yannick.fertre@st.com>
11   - Christophe Roullier <christophe.roullier@st.com>
13 allOf:
14   - $ref: "watchdog.yaml#"
16 properties:
17   compatible:
18     enum:
19       - st,stm32-iwdg
20       - st,stm32mp1-iwdg
22   reg:
23     maxItems: 1
25   clocks:
26     items:
27       - description: Low speed clock
28       - description: Optional peripheral clock
29     minItems: 1
30     maxItems: 2
32   clock-names:
33     items:
34       enum:
35         - lsi
36         - pclk
37     minItems: 1
38     maxItems: 2
40 required:
41   - compatible
42   - reg
43   - clocks
44   - clock-names
46 unevaluatedProperties: false
48 examples:
49   - |
50     #include <dt-bindings/clock/stm32mp1-clks.h>
51     watchdog@5a002000 {
52       compatible = "st,stm32mp1-iwdg";
53       reg = <0x5a002000 0x400>;
54       clocks = <&rcc IWDG2>, <&rcc CK_LSI>;
55       clock-names = "pclk", "lsi";
56       timeout-sec = <32>;
57     };
59 ...