65 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/watchdog/st,stm32-iwdg.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: STMicroelectronics STM32 Independent WatchDoG (IWDG)8 9maintainers:10 - Yannick Fertre <yannick.fertre@foss.st.com>11 - Christophe Roullier <christophe.roullier@foss.st.com>12 13allOf:14 - $ref: watchdog.yaml#15 16properties:17 compatible:18 enum:19 - st,stm32-iwdg20 - st,stm32mp1-iwdg21 22 reg:23 maxItems: 124 25 clocks:26 items:27 - description: Low speed clock28 - description: Optional peripheral clock29 minItems: 130 31 clock-names:32 items:33 enum:34 - lsi35 - pclk36 minItems: 137 maxItems: 238 39 interrupts:40 maxItems: 141 description: Pre-timeout interrupt from the watchdog.42 43 wakeup-source: true44 45required:46 - compatible47 - reg48 - clocks49 - clock-names50 51unevaluatedProperties: false52 53examples:54 - |55 #include <dt-bindings/clock/stm32mp1-clks.h>56 watchdog@5a002000 {57 compatible = "st,stm32mp1-iwdg";58 reg = <0x5a002000 0x400>;59 clocks = <&rcc IWDG2>, <&rcc CK_LSI>;60 clock-names = "pclk", "lsi";61 timeout-sec = <32>;62 };63 64...65