15059791eSBenjamin Gaignard# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25059791eSBenjamin Gaignard%YAML 1.2 35059791eSBenjamin Gaignard--- 45059791eSBenjamin Gaignard$id: http://devicetree.org/schemas/rng/st,stm32-rng.yaml# 55059791eSBenjamin Gaignard$schema: http://devicetree.org/meta-schemas/core.yaml# 65059791eSBenjamin Gaignard 7*84e85359SKrzysztof Kozlowskititle: STMicroelectronics STM32 RNG 85059791eSBenjamin Gaignard 95059791eSBenjamin Gaignarddescription: | 105059791eSBenjamin Gaignard The STM32 hardware random number generator is a simple fixed purpose 115059791eSBenjamin Gaignard IP and is fully separated from other crypto functions. 125059791eSBenjamin Gaignard 135059791eSBenjamin Gaignardmaintainers: 14f4eedebdSPatrice Chotard - Lionel Debieve <lionel.debieve@foss.st.com> 155059791eSBenjamin Gaignard 165059791eSBenjamin Gaignardproperties: 175059791eSBenjamin Gaignard compatible: 185059791eSBenjamin Gaignard const: st,stm32-rng 195059791eSBenjamin Gaignard 205059791eSBenjamin Gaignard reg: 215059791eSBenjamin Gaignard maxItems: 1 225059791eSBenjamin Gaignard 235059791eSBenjamin Gaignard clocks: 245059791eSBenjamin Gaignard maxItems: 1 255059791eSBenjamin Gaignard 265059791eSBenjamin Gaignard resets: 275059791eSBenjamin Gaignard maxItems: 1 285059791eSBenjamin Gaignard 295059791eSBenjamin Gaignard clock-error-detect: 304e71ed98SRob Herring type: boolean 315059791eSBenjamin Gaignard description: If set enable the clock detection management 325059791eSBenjamin Gaignard 335059791eSBenjamin Gaignardrequired: 345059791eSBenjamin Gaignard - compatible 355059791eSBenjamin Gaignard - reg 365059791eSBenjamin Gaignard - clocks 375059791eSBenjamin Gaignard 385059791eSBenjamin GaignardadditionalProperties: false 395059791eSBenjamin Gaignard 405059791eSBenjamin Gaignardexamples: 415059791eSBenjamin Gaignard - | 425059791eSBenjamin Gaignard #include <dt-bindings/clock/stm32mp1-clks.h> 435059791eSBenjamin Gaignard rng@54003000 { 445059791eSBenjamin Gaignard compatible = "st,stm32-rng"; 455059791eSBenjamin Gaignard reg = <0x54003000 0x400>; 465059791eSBenjamin Gaignard clocks = <&rcc RNG1_K>; 475059791eSBenjamin Gaignard }; 485059791eSBenjamin Gaignard 495059791eSBenjamin Gaignard... 50