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 7c66ec88fSEmmanuel Vadottitle: STMicroelectronics STM32 Independent WatchDoG (IWDG) bindings 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Yannick Fertre <yannick.fertre@st.com> 11c66ec88fSEmmanuel Vadot - Christophe Roullier <christophe.roullier@st.com> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel VadotallOf: 14c66ec88fSEmmanuel 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 maxItems: 2 31c66ec88fSEmmanuel Vadot 32c66ec88fSEmmanuel Vadot clock-names: 33c66ec88fSEmmanuel Vadot items: 34c66ec88fSEmmanuel Vadot enum: 35c66ec88fSEmmanuel Vadot - lsi 36c66ec88fSEmmanuel Vadot - pclk 37c66ec88fSEmmanuel Vadot minItems: 1 38c66ec88fSEmmanuel Vadot maxItems: 2 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadotrequired: 41c66ec88fSEmmanuel Vadot - compatible 42c66ec88fSEmmanuel Vadot - reg 43c66ec88fSEmmanuel Vadot - clocks 44c66ec88fSEmmanuel Vadot - clock-names 45c66ec88fSEmmanuel Vadot 46*6be33864SEmmanuel VadotunevaluatedProperties: false 47*6be33864SEmmanuel Vadot 48c66ec88fSEmmanuel Vadotexamples: 49c66ec88fSEmmanuel Vadot - | 50c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/stm32mp1-clks.h> 51c66ec88fSEmmanuel Vadot watchdog@5a002000 { 52c66ec88fSEmmanuel Vadot compatible = "st,stm32mp1-iwdg"; 53c66ec88fSEmmanuel Vadot reg = <0x5a002000 0x400>; 54c66ec88fSEmmanuel Vadot clocks = <&rcc IWDG2>, <&rcc CK_LSI>; 55c66ec88fSEmmanuel Vadot clock-names = "pclk", "lsi"; 56c66ec88fSEmmanuel Vadot timeout-sec = <32>; 57c66ec88fSEmmanuel Vadot }; 58c66ec88fSEmmanuel Vadot 59c66ec88fSEmmanuel Vadot... 60