hc
2023-10-25 6c2073b7aa40e29d0eca7d571dd7bc590c7ecaa7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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>;
   };