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