xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/st,stm32-iwdg.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/watchdog/st,stm32-iwdg.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: STMicroelectronics STM32 Independent WatchDoG (IWDG)
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
108cc087a1SEmmanuel Vadot  - Yannick Fertre <yannick.fertre@foss.st.com>
118cc087a1SEmmanuel Vadot  - Christophe Roullier <christophe.roullier@foss.st.com>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel VadotallOf:
14*fac71e4eSEmmanuel Vadot  - $ref: watchdog.yaml#
15c66ec88fSEmmanuel Vadot
16c66ec88fSEmmanuel Vadotproperties:
17c66ec88fSEmmanuel Vadot  compatible:
18c66ec88fSEmmanuel Vadot    enum:
19c66ec88fSEmmanuel Vadot      - st,stm32-iwdg
20c66ec88fSEmmanuel Vadot      - st,stm32mp1-iwdg
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot  reg:
23c66ec88fSEmmanuel Vadot    maxItems: 1
24c66ec88fSEmmanuel Vadot
25c66ec88fSEmmanuel Vadot  clocks:
26c66ec88fSEmmanuel Vadot    items:
27c66ec88fSEmmanuel Vadot      - description: Low speed clock
28c66ec88fSEmmanuel Vadot      - description: Optional peripheral clock
29c66ec88fSEmmanuel Vadot    minItems: 1
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadot  clock-names:
32c66ec88fSEmmanuel Vadot    items:
33c66ec88fSEmmanuel Vadot      enum:
34c66ec88fSEmmanuel Vadot        - lsi
35c66ec88fSEmmanuel Vadot        - pclk
36c66ec88fSEmmanuel Vadot    minItems: 1
37c66ec88fSEmmanuel Vadot    maxItems: 2
38c66ec88fSEmmanuel Vadot
39c66ec88fSEmmanuel Vadotrequired:
40c66ec88fSEmmanuel Vadot  - compatible
41c66ec88fSEmmanuel Vadot  - reg
42c66ec88fSEmmanuel Vadot  - clocks
43c66ec88fSEmmanuel Vadot  - clock-names
44c66ec88fSEmmanuel Vadot
456be33864SEmmanuel VadotunevaluatedProperties: false
466be33864SEmmanuel Vadot
47c66ec88fSEmmanuel Vadotexamples:
48c66ec88fSEmmanuel Vadot  - |
49c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/stm32mp1-clks.h>
50c66ec88fSEmmanuel Vadot    watchdog@5a002000 {
51c66ec88fSEmmanuel Vadot        compatible = "st,stm32mp1-iwdg";
52c66ec88fSEmmanuel Vadot        reg = <0x5a002000 0x400>;
53c66ec88fSEmmanuel Vadot        clocks = <&rcc IWDG2>, <&rcc CK_LSI>;
54c66ec88fSEmmanuel Vadot        clock-names = "pclk", "lsi";
55c66ec88fSEmmanuel Vadot        timeout-sec = <32>;
56c66ec88fSEmmanuel Vadot    };
57c66ec88fSEmmanuel Vadot
58c66ec88fSEmmanuel Vadot...
59