The latest development version of this page may be more current than this released 4.0.0 version.

st,stm32-rng

Vendor: STMicroelectronics

Note

An implementation of a driver matching this compatible is available in drivers/entropy/entropy_stm32.c.

Description

STM32 Random Number Generator

Properties

Properties not inherited from the base binding file.

Name

Type

Details

nist-config

int

This property is used to configure the RNG_CR for the NIST certification
The validation conditions are following the refMan
to certify NIST SP800-90B. RNG clock source must be 48MHz.
This config is valid with some STM32 families
and when Conditioning Soft Reset (RNG_CR_CONDRST bit) exists.
The value is directly mapped from the RNG configuration (A) table.
The Health Register (health-test-config property) must correspond
to this table configuration.
On the stm32U5, the ARDIS bit7 is also written.

health-test-magic

int

Magic Number to be written to Health Test Configuration Register (HTCR)
prior to real configuration, if any.

health-test-config

int

Heath Test Configuration, necessary to have proper RNG behavior,
when available.