From d1c079e2fba574a10c9b731809c058335d642b46 Mon Sep 17 00:00:00 2001 From: Gatien Chevallier Date: Thu, 29 Aug 2024 18:32:22 +0200 Subject: [PATCH] dts: stm32: add RNG node in stm32mp251 SoC device tree file Add the RNG node in the stm32mp251 SoC device tree file and default enable it. Signed-off-by: Gatien Chevallier Reviewed-by: Etienne Carriere --- core/arch/arm/dts/stm32mp251.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/arch/arm/dts/stm32mp251.dtsi b/core/arch/arm/dts/stm32mp251.dtsi index 99db3822ed1..3d96a8c543f 100644 --- a/core/arch/arm/dts/stm32mp251.dtsi +++ b/core/arch/arm/dts/stm32mp251.dtsi @@ -134,6 +134,15 @@ access-controllers = <&rifsc STM32MP25_RIFSC_USART2_ID>; status = "disabled"; }; + + rng: rng@42020000 { + compatible = "st,stm32mp25-rng"; + reg = <0x42020000 0x400>; + clocks = <&clk_rcbsec>, <&rcc CK_BUS_RNG>; + clock-names = "rng_clk", "rng_hclk"; + resets = <&rcc RNG_R>; + access-controllers = <&rifsc STM32MP25_RIFSC_RNG_ID>; + }; }; iac: iac@42090000 {