Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db39e8e8 authored by Parai Wang's avatar Parai Wang Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add qrng for gvm on msm8996



Add device node qualcomm hardware random generator, so that to provide
real random number if qrng is enabled.
This is for security purpose for the application.

Change-Id: Ib359b39ec5c32cb05ed1e38c1ad377657e5c47ae
Signed-off-by: default avatarParai Wang <fpwang@codeaurora.org>
parent ef00227c
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -294,4 +294,19 @@
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <2950000>;
	};

	qcom_rng: qrng@83000 {
		compatible = "qcom,msm-rng";
		reg = <0x83000 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";
	};
};