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/rng/st,stm32-rng.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: STMicroelectronics STM32 RNG bindings 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotdescription: | 10*c66ec88fSEmmanuel Vadot The STM32 hardware random number generator is a simple fixed purpose 11*c66ec88fSEmmanuel Vadot IP and is fully separated from other crypto functions. 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadotmaintainers: 14*c66ec88fSEmmanuel Vadot - Lionel Debieve <lionel.debieve@st.com> 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadotproperties: 17*c66ec88fSEmmanuel Vadot compatible: 18*c66ec88fSEmmanuel Vadot const: st,stm32-rng 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot reg: 21*c66ec88fSEmmanuel Vadot maxItems: 1 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadot clocks: 24*c66ec88fSEmmanuel Vadot maxItems: 1 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel Vadot resets: 27*c66ec88fSEmmanuel Vadot maxItems: 1 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel Vadot clock-error-detect: 30*c66ec88fSEmmanuel Vadot description: If set enable the clock detection management 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel Vadotrequired: 33*c66ec88fSEmmanuel Vadot - compatible 34*c66ec88fSEmmanuel Vadot - reg 35*c66ec88fSEmmanuel Vadot - clocks 36*c66ec88fSEmmanuel Vadot 37*c66ec88fSEmmanuel VadotadditionalProperties: false 38*c66ec88fSEmmanuel Vadot 39*c66ec88fSEmmanuel Vadotexamples: 40*c66ec88fSEmmanuel Vadot - | 41*c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/stm32mp1-clks.h> 42*c66ec88fSEmmanuel Vadot rng@54003000 { 43*c66ec88fSEmmanuel Vadot compatible = "st,stm32-rng"; 44*c66ec88fSEmmanuel Vadot reg = <0x54003000 0x400>; 45*c66ec88fSEmmanuel Vadot clocks = <&rcc RNG1_K>; 46*c66ec88fSEmmanuel Vadot }; 47*c66ec88fSEmmanuel Vadot 48*c66ec88fSEmmanuel Vadot... 49