]> www.infradead.org Git - linux.git/commitdiff
ARM: dts: stm32: add RNG node for STM32MP13x platforms
authorGatien Chevallier <gatien.chevallier@foss.st.com>
Thu, 21 Sep 2023 08:03:01 +0000 (10:03 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 9 Oct 2023 11:46:11 +0000 (13:46 +0200)
The RNG on STM32MP13 offers upgrades like customization of its
configuration and the conditional reset.

The hardware RNG should be managed in the secure world for but it
is supported on Linux. Therefore, is it not default enabled.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp131.dtsi

index a94ce308546613b86fb08cc99da8a22dfde61864..b04d24c939c37404e79cadb123d98e8c7a0ac69c 100644 (file)
                        status = "disabled";
                };
 
+               rng: rng@54004000 {
+                       compatible = "st,stm32mp13-rng";
+                       reg = <0x54004000 0x400>;
+                       clocks = <&rcc RNG1_K>;
+                       resets = <&rcc RNG1_R>;
+                       status = "disabled";
+               };
+
                mdma: dma-controller@58000000 {
                        compatible = "st,stm32h7-mdma";
                        reg = <0x58000000 0x1000>;