Backport core dts updates for rk3576. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/20041 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
From 5268f3b5d29887480011b44567bcbf0d422cda94 Mon Sep 17 00:00:00 2001
|
|
From: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
|
|
Date: Wed, 30 Apr 2025 18:16:36 +0200
|
|
Subject: [PATCH] arm64: dts: rockchip: add RK3576 RNG node
|
|
|
|
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 | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3576.dtsi
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3576.dtsi
|
|
@@ -1557,6 +1557,14 @@
|
|
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>;
|