[PATCH v2 1/2] meson-a1: dts: add hw rng node

Alexey Romanov avromanov at salutedevices.com
Tue Oct 10 12:06:16 CEST 2023


Add support for hardware random number generator
of Amlogic Meson SoCs.

Signed-off-by: Alexey Romanov <avromanov at salutedevices.com>
---
 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 at 5118 {
+				compatible = "amlogic,meson-rng";
+				reg = <0x0 0x5118 0x0 0x4>;
+			};
 		};
 
 		gic: interrupt-controller at ff901000 {
-- 
2.25.1



More information about the U-Boot mailing list