Skip to contentSkip to conversation

devicetree: Add hardware rng entry to qcom-apq8064.dtsi

PATCH New John Stultz 1 participant 1 message May 13, 2015 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 devicetree: Add hardware rng entry to qcom-apq8064.dtsi

Add devicetree data to add support for hw_rng support to the apq8064 dts.

Tested on the Nexus7 (2013).

---
v2: Adjusted hex value to lower-case per Stephen's suggestion.

 arch/arm/boot/dts/qcom-apq8064.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/qcom-apq8064.dtsi +7 -0
index b3154c0..241811d 100644
@@ -226,6 +226,13 @@
 			};
 		};
 
+		rng@1a500000 {
+			compatible = "qcom,prng";
+			reg = <0x1a500000 0x200>;
+			clocks = <&gcc PRNG_CLK>;
+			clock-names = "core";
+		};
+
 		qcom,ssbi@500000 {
 			compatible = "qcom,ssbi";
 			reg = <0x00500000 0x1000>;
Signature · 1 line
1.9.1