From 8888d056a999f9d12f25c35af3d292b4214850fc Mon Sep 17 00:00:00 2001 From: Alexander Kozhinov Date: Fri, 12 Jun 2020 20:46:17 +0200 Subject: [PATCH] dts: arm: st: h7: add rng peripheral support rng peripheral support added rng peripheral currently disabled Signed-off-by: Alexander Kozhinov --- dts/arm/st/h7/stm32h7.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dts/arm/st/h7/stm32h7.dtsi b/dts/arm/st/h7/stm32h7.dtsi index 801d55985a3..1cd10fee2f3 100644 --- a/dts/arm/st/h7/stm32h7.dtsi +++ b/dts/arm/st/h7/stm32h7.dtsi @@ -14,6 +14,7 @@ / { chosen { + zephyr,entropy = &rng; zephyr,flash-controller = &flash; }; @@ -567,6 +568,14 @@ label = "ADC_3"; #io-channel-cells = <1>; }; + + rng: rng@48021800 { + compatible = "st,stm32-rng"; + reg = <0x48021800 0x400>; + clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00000040>; + status = "disabled"; + label = "RNG"; + }; }; };