dts: stm32: Add the RNG peripheral to the STM32L07{2,3}
The STM32L072 and STM32L073 comes with a hardware random number generator. Add this to the device tree. Signed-off-by: Andreas Sandberg <andreas@sandberg.pp.se>
This commit is contained in:
parent
19c165a119
commit
d4d39f0a43
1 changed files with 12 additions and 0 deletions
|
@ -7,6 +7,10 @@
|
|||
#include <st/l0/stm32l0.dtsi>
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
zephyr,entropy = &rng;
|
||||
};
|
||||
|
||||
soc {
|
||||
pinctrl: pin-controller@50000000 {
|
||||
|
||||
|
@ -70,6 +74,14 @@
|
|||
label= "USB";
|
||||
};
|
||||
|
||||
rng: rng@40025000 {
|
||||
compatible = "st,stm32-rng";
|
||||
reg = <0x40025000 0x400>;
|
||||
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x00100000>;
|
||||
status = "disabled";
|
||||
label = "RNG";
|
||||
};
|
||||
|
||||
eeprom: eeprom@8080000{
|
||||
reg = <0x08080000 DT_SIZE_K(6)>;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue