]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
meson-a1: dts: add hw rng node
authorAlexey Romanov <avromanov@salutedevices.com>
Tue, 10 Oct 2023 10:06:16 +0000 (13:06 +0300)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 12 Oct 2023 11:39:41 +0000 (13:39 +0200)
Add support for hardware random number generator
of Amlogic Meson SoCs.

Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
Link: https://lore.kernel.org/r/20231010100623.74475-2-avromanov@salutedevices.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm/dts/meson-a1.dtsi

index 6509329b85b1c627661dfd2a1ddddf1c557c525e..e6e72d40043ecc4f24c500e213f2ee82976c794b 100644 (file)
                                clock-names = "xtal", "pclk", "baud";
                                status = "disabled";
                        };
+
+                       hwrng: rng@5118 {
+                               compatible = "amlogic,meson-rng";
+                               reg = <0x0 0x5118 0x0 0x4>;
+                       };
                };
 
                gic: interrupt-controller@ff901000 {