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

Commit d13cc243 authored by AnilKumar Chimata's avatar AnilKumar Chimata Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Enable QRNG driver for Scuba

Enable QRNG device node on include file to enable
the QRNG driver to communicate with /dev/random
on scuba.

Change-Id: Ic6aefbc5b2f89d4908f02859c63dc4c6b4c7ad34
parent bcf115a9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ Required properties:

Optional property:
- qcom,msm-rng-iface-clk : If the device uses iface-clk.
- qcom,msm-rng-hwkm-clk  : If the device uses hwkm clock.
- qcom,no-qrng-config    : Flag to decide whether the driver do the hardware configuration or not.

Example:
+17 −0
Original line number Diff line number Diff line
@@ -1047,6 +1047,23 @@
		hyplog-size-offset = <0x414>;
	};

	qcom_rng: qrng@4453000 {
		compatible = "qcom,msm-rng";
		reg = <0x4453000 0x1000>;
		qcom,msm-rng-hwkm-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 =
			<MSM_BUS_MASTER_AMPSS_M0
			 MSM_BUS_SLAVE_HWKM 0 0>,    /* No vote */
			<MSM_BUS_MASTER_AMPSS_M0
			 MSM_BUS_SLAVE_HWKM 0 300000>;  /* 75 MHz */
		clock-names = "km_clk_src";
		clocks = <&rpmcc RPM_SMD_HWKM_CLK>;
	};

	qcom_cedev: qcedev@1b20000 {
		compatible = "qcom,qcedev";
		reg = <0x1b20000 0x20000>,