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#
6
7 title: STMicroelectronics STM32 Independent WatchDoG (IWDG) bindings
8
9 maintainers:
10 - Yannick Fertre <yannick.fertre@foss.st.com>
11 - Christophe Roullier <christophe.roullier@foss.st.com>
12
13 allOf:
14 - $ref: "watchdog.yaml#"
15
16 properties:
17 compatible:
18 enum:
19 - st,stm32-iwdg
20 - st,stm32mp1-iwdg
21
22 reg:
23 maxItems: 1
24
25 clocks:
26 items:
27 - description: Low speed clock
28 - description: Optional peripheral clock
29 minItems: 1
30
31 clock-names:
32 items:
33 enum:
34 - lsi
35 - pclk
36 minItems: 1
37 maxItems: 2
38
39 required:
40 - compatible
41 - reg
42 - clocks
43 - clock-names
44
45 unevaluatedProperties: false
46
47 examples:
48 - |
49 #include <dt-bindings/clock/stm32mp1-clks.h>
50 watchdog@5a002000 {
51 compatible = "st,stm32mp1-iwdg";
52 reg = <0x5a002000 0x400>;
53 clocks = <&rcc IWDG2>, <&rcc CK_LSI>;
54 clock-names = "pclk", "lsi";
55 timeout-sec = <32>;
56 };
57
58 ...
Cache object: cb9d1359d9c84a52b207d50147244fa2
|