OSDN Git Service

arm64: dts: qcom: sm6350: Add PRNG node
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Thu, 23 Sep 2021 16:21:58 +0000 (18:21 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 27 Sep 2021 22:21:29 +0000 (17:21 -0500)
Add a node for the PRNG to enable hw-accelerated pseudo-random number
generation.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210923162204.21752-12-konrad.dybcio@somainline.org
arch/arm64/boot/dts/qcom/sm6350.dtsi

index 52e4abd..edebf28 100644 (file)
                        #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>;