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

Commit 7c3db04e authored by Mallikarjuna Reddy Amireddy's avatar Mallikarjuna Reddy Amireddy
Browse files

ARM: dts: msm: Add qprng device tree data for msmthorium



Add random number generator device tree data to dtsi file by
adding msm-rng device node with all the necessary parameters,
to enable the prng driver on msmthorium.

Change-Id: Iacd34fba4f42a1000324d72afaa441ce25ec5213
Signed-off-by: default avatarMallikarjuna Reddy Amireddy <mamire@codeaurora.org>
parent ad9fe5a4
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -787,6 +787,21 @@
		};
	};

	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";
	};

	qcom,ipc_router {
		compatible = "qcom,ipc_router";
		qcom,node-id = <1>;