mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 08:46:49 +07:00
a888df9b89
Add optional property to enable the clock detection error on rng block. It is used to allow slow clock source which give correct entropy for rng. Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
26 lines
689 B
Plaintext
26 lines
689 B
Plaintext
STMicroelectronics STM32 HW RNG
|
|
===============================
|
|
|
|
The STM32 hardware random number generator is a simple fixed purpose IP and
|
|
is fully separated from other crypto functions.
|
|
|
|
Required properties:
|
|
|
|
- compatible : Should be "st,stm32-rng"
|
|
- reg : Should be register base and length as documented in the datasheet
|
|
- interrupts : The designated IRQ line for the RNG
|
|
- clocks : The clock needed to enable the RNG
|
|
|
|
Optional properties:
|
|
- resets : The reset to properly start RNG
|
|
- clock-error-detect : Enable the clock detection management
|
|
|
|
Example:
|
|
|
|
rng: rng@50060800 {
|
|
compatible = "st,stm32-rng";
|
|
reg = <0x50060800 0x400>;
|
|
interrupts = <80>;
|
|
clocks = <&rcc 0 38>;
|
|
};
|