ARM: dts: msm: Enable QRNG driver for msm8937
Enable QRNG device node on include file to enable
the QRNG driver to communicate with /dev/random.
Change-Id: Ia0a1e421b0946d9f321b391eaa1f865c9414e3a1
Signed-off-by: mohamed sunfeer <msunfeer@codeaurora.org>
diff --git a/arch/arm64/boot/dts/qcom/msm8937.dtsi b/arch/arm64/boot/dts/qcom/msm8937.dtsi
index 4bcb6c8..99ca439 100644
--- a/arch/arm64/boot/dts/qcom/msm8937.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8937.dtsi
@@ -1298,6 +1298,22 @@
qcom,ce-opp-freq = <100000000>;
status = "disabled";
};
+
+ qcom_rng: qrng@e3000 {
+ compatible = "qcom,msm-rng";
+ reg = <0xe3000 0x1000>;
+ qcom,msm-rng-iface-clk;
+ qcom,no-qrng-config;
+ qcom,msm-bus,name = "msm-rng-noc";
+ qcom,msm-bus,num-cases = <2>;
+ qcom,msm-bus,num-paths = <1>;
+ qcom,msm-bus,vectors-KBps =
+ <1 618 0 0>, /* No vote */
+ <1 618 0 800>; /* 100 MB/s */
+ clocks = <&clock_gcc clk_gcc_prng_ahb_clk>;
+ clock-names = "iface_clk";
+ status = "disabled";
+ };
};
#include "pm8937-rpm-regulator.dtsi"