devicetree: Add hardware rng entry to qcom-apq8064.dtsi
authorJohn Stultz <john.stultz@linaro.org>
Fri, 18 Sep 2015 12:31:12 +0000 (13:31 +0100)
committerAndy Gross <agross@codeaurora.org>
Wed, 9 Dec 2015 05:33:12 +0000 (23:33 -0600)
Add devicetree data to add support for hw_rng support
to the apq8064 dts.

Tested on the Nexus7 (2013).

Cc: Kumar Gala <galak@codeaurora.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: devicetree@vger.kernel.org
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
arch/arm/boot/dts/qcom-apq8064.dtsi

index a4c1762b53ea3712a46e5f8a04cff5783d93b14d..42286c634d1e300c0bf268a03f53a2c6105466a1 100644 (file)
                        };
                };
 
+               rng@1a500000 {
+                       compatible = "qcom,prng";
+                       reg = <0x1a500000 0x200>;
+                       clocks = <&gcc PRNG_CLK>;
+                       clock-names = "core";
+               };
+
                qcom,ssbi@500000 {
                        compatible = "qcom,ssbi";
                        reg = <0x00500000 0x1000>;