arm64: dts: rockchip: add RK3576 RNG node
authorNicolas Frattaroli <nicolas.frattaroli@collabora.com>
Wed, 30 Apr 2025 16:16:36 +0000 (18:16 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 5 May 2025 12:59:52 +0000 (14:59 +0200)
The RK3576 has a hardware random number generator IP built into the SoC.

Add it to the SoC's .dtsi, now that there's a binding and driver for it.

Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Link: https://lore.kernel.org/r/20250430-rk3576-hwrng-v1-3-480c15b5843e@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3576.dtsi

index ddc92ccc530d6757660971f0a609b5127784bb04..d7c6495e18c08042e7d541e21c06d9c7a3f18286 100644 (file)
                        status = "disabled";
                };
 
+               rng: rng@2a410000 {
+                       compatible = "rockchip,rk3576-rng";
+                       reg = <0x0 0x2a410000 0x0 0x200>;
+                       clocks = <&cru HCLK_TRNG_NS>;
+                       interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>;
+                       resets = <&cru SRST_H_TRNG_NS>;
+               };
+
                otp: otp@2a580000 {
                        compatible = "rockchip,rk3576-otp";
                        reg = <0x0 0x2a580000 0x0 0x400>;