From 87dfb37d54e59f89b61d43970861ad81d66f38ca Mon Sep 17 00:00:00 2001 From: Alexey Romanov Date: Tue, 10 Oct 2023 13:06:16 +0300 Subject: [PATCH] meson-a1: dts: add hw rng node Add support for hardware random number generator of Amlogic Meson SoCs. Signed-off-by: Alexey Romanov Link: https://lore.kernel.org/r/20231010100623.74475-2-avromanov@salutedevices.com Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-a1.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/meson-a1.dtsi b/arch/arm/dts/meson-a1.dtsi index 6509329b85..e6e72d4004 100644 --- a/arch/arm/dts/meson-a1.dtsi +++ b/arch/arm/dts/meson-a1.dtsi @@ -124,6 +124,11 @@ clock-names = "xtal", "pclk", "baud"; status = "disabled"; }; + + hwrng: rng@5118 { + compatible = "amlogic,meson-rng"; + reg = <0x0 0x5118 0x0 0x4>; + }; }; gic: interrupt-controller@ff901000 { -- 2.39.5