diff mbox series

[v2,12/18] arm64: dts: qcom: sm6350: Add PRNG node

Message ID 20210828131814.29589-12-konrad.dybcio@somainline.org
State Accepted
Commit 574af54562440e7036a7b4a71d016f166ca2e830
Headers show
Series [v2,01/18] dt-bindings: arm: cpus: Add Kryo 560 CPUs | expand

Commit Message

Konrad Dybcio Aug. 28, 2021, 1:18 p.m. UTC
Add a node for the PRNG to enable hw-accelerated pseudo-random number
generation.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
---
 arch/arm64/boot/dts/qcom/sm6350.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi
index f3914309dc5f..30ecacce176e 100644
--- a/arch/arm64/boot/dts/qcom/sm6350.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi
@@ -392,6 +392,13 @@  ipcc: mailbox@408000 {
 			#mbox-cells = <2>;
 		};
 
+		rng: rng@793000 {
+			compatible = "qcom,prng-ee";
+			reg = <0 0x00793000 0 0x1000>;
+			clocks = <&gcc GCC_PRNG_AHB_CLK>;
+			clock-names = "core";
+		};
+
 		tcsr_mutex: hwlock@1f40000 {
 			compatible = "qcom,tcsr-mutex";
 			reg = <0x0 0x01f40000 0x0 0x40000>;