diff mbox series

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

Message ID YH3EKEuGy1topHtJ@nx64de-df6d00
State Accepted
Commit 7bda7cee2dfc824eccc6a76ea531fc90b4f7923f
Delegated to: Patrick Delaunay
Headers show
Series arm: dts: stm32mp157c-odyssey-som: enable the RNG1 | expand

Commit Message

Grzegorz Szymaszek April 19, 2021, 5:55 p.m. UTC
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.

Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
---
 arch/arm/dts/stm32mp157c-odyssey-som.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Patrick Delaunay May 4, 2021, 2:07 p.m. UTC | #1
Hi,

On 4/19/21 7:55 PM, Grzegorz Szymaszek wrote:
> 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.
>
> Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl>
> Cc: Patrice Chotard <patrice.chotard@foss.st.com>
> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
>   arch/arm/dts/stm32mp157c-odyssey-som.dtsi | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
> index 83ff2e7ce1..e367a311c4 100644
> --- a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
> +++ b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
> @@ -258,6 +258,10 @@
>   	status = "okay";
>   };
>   
> +&rng1 {
> +	status = "okay";
> +};
> +
>   &sdmmc2 {
>   	pinctrl-names = "default", "opendrain", "sleep";
>   	pinctrl-0 = <&sdmmc2_b4_pins_a>;


Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Thanks
Patrick
diff mbox series

Patch

diff --git a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
index 83ff2e7ce1..e367a311c4 100644
--- a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
+++ b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
@@ -258,6 +258,10 @@ 
 	status = "okay";
 };
 
+&rng1 {
+	status = "okay";
+};
+
 &sdmmc2 {
 	pinctrl-names = "default", "opendrain", "sleep";
 	pinctrl-0 = <&sdmmc2_b4_pins_a>;