summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Frattaroli <[email protected]>2025-04-08 22:11:44 +0000
committerKever Yang <[email protected]>2025-04-23 22:12:02 +0800
commit4b9c5e584ad06f1163a2e31fbfe54bc6d30fe629 (patch)
treec1720db083d905a16dd429f8faa5b6ad29a4ab21
parentbdc9966265fe10a1bfee6e8fc0527bb00e222119 (diff)
arm64: dts: rockchip: Add rng node to RK3588
Add the RK3588's standalone hardware random number generator node to its device tree, and enable it. Signed-off-by: Nicolas Frattaroli <[email protected]> Link: https://lore.kernel.org/r/[email protected] [changed reset-id to its numeric value while the constant makes its way through the crypto tree] Signed-off-by: Heiko Stuebner <[email protected]> [ upstream commit: 6ee0b9ad3995ee5fa229035c69013b7dd0d3634b ] (cherry picked from commit 4800c4aaad00ffdc053850f130e8504a04dd110d) Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
-rw-r--r--dts/upstream/src/arm64/rockchip/rk3588-base.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/dts/upstream/src/arm64/rockchip/rk3588-base.dtsi b/dts/upstream/src/arm64/rockchip/rk3588-base.dtsi
index c3abdfb04f8..2623afa7963 100644
--- a/dts/upstream/src/arm64/rockchip/rk3588-base.dtsi
+++ b/dts/upstream/src/arm64/rockchip/rk3588-base.dtsi
@@ -1921,6 +1921,14 @@
status = "disabled";
};
+ rng@fe378000 {
+ compatible = "rockchip,rk3588-rng";
+ reg = <0x0 0xfe378000 0x0 0x200>;
+ interrupts = <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&scmi_clk SCMI_HCLK_SECURE_NS>;
+ resets = <&scmi_reset 48>;
+ };
+
i2s0_8ch: i2s@fe470000 {
compatible = "rockchip,rk3588-i2s-tdm";
reg = <0x0 0xfe470000 0x0 0x1000>;