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:
Andreas Sandberg 2020-05-08 11:33:03 +01:00 committed by Ioannis Glaropoulos
commit d4d39f0a43

View file

@ -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)>;
};