Skip to contentSkip to conversation

arm: dts: stm32mp157c-odyssey-som: enable the RNG1

PATCH New Grzegorz Szymaszek 2 participants 2 messages Apr 19, 2021 – May 4, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: stm32mp157c-odyssey-som: enable the RNG1

Enable the true random number generator. It can be used, for example, to generate partition UUIDs when partitioning with the gpt command. The generator is already enabled in the device trees of several other STM32MP1?based boards, like DKx or DHCOM.

Cc Patrice Chotard <[email protected]>
Cc Patrick Delaunay <[email protected]>
---
 arch/arm/dts/stm32mp157c-odyssey-som.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/dts/stm32mp157c-odyssey-som.dtsi +4 -0
index 83ff2e7ce1..e367a311c4 100644
@@ -258,6 +258,10 @@
 	status = "okay";
 };
 
+&rng1 {
+	status = "okay";
+};
+
 &sdmmc2 {
 	pinctrl-names = "default", "opendrain", "sleep";
 	pinctrl-0 = <&sdmmc2_b4_pins_a>;
Signature · 1 line
2.30.2
#1 lore raw

PATCH 1/1 arm: dts: stm32mp157c-odyssey-som: enable the RNG1

Hi,

Quoted 17 lines · Grzegorz Szymaszek

Enable the true random number generator. It can be used, for example, to generate partition UUIDs when partitioning with the gpt command. The generator is already enabled in the device trees of several other STM32MP1?based boards, like DKx or DHCOM.

Cc Patrice Chotard <[email protected]>
Cc Patrick Delaunay <[email protected]>
---
  arch/arm/dts/stm32mp157c-odyssey-som.dtsi | 4 ++++
  1 file changed, 4 insertions(+)
arch/arm/dts/stm32mp157c-odyssey-som.dtsi +0 -0
index 83ff2e7ce1..e367a311c4 100644

arch/arm/dts/stm32mp157c-odyssey-som.dtsi line 267

Quoted 10 lines
arch/arm/dts/stm32mp157c-odyssey-som.dtsi +4 -0
@@ -258,6 +258,10 @@
  	status = "okay";
  };
 
+&rng1 {
+	status = "okay";
+};
+
  &sdmmc2 {
  	pinctrl-names = "default", "opendrain", "sleep";
  	pinctrl-0 = <&sdmmc2_b4_pins_a>;

Thanks
Patrick