Skip to content

Commit

Permalink
ipq806x: enable hw pseudo random number generator
Browse files Browse the repository at this point in the history
Enables support for pseudo random number generator in device tree.

Signed-off-by: Pavel Kubelun <[email protected]>
  • Loading branch information
dissent1 authored and blogic committed Jan 15, 2017
1 parent 44b4459 commit ca25b4d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions target/linux/ipq806x/patches-4.4/316-dt-add-prng-support.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
@@ -336,6 +336,13 @@
};
};

+ rng@1a500000 {
+ compatible = "qcom,prng";
+ reg = <0x1a500000 0x200>;
+ clocks = <&gcc PRNG_CLK>;
+ clock-names = "core";
+ };
+
qcom_pinmux: pinmux@800000 {
compatible = "qcom,ipq8064-pinctrl";
reg = <0x800000 0x4000>;
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Signed-off-by: Mathieu Olivari <[email protected]>
};
--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
@@ -910,6 +910,92 @@
@@ -917,6 +917,92 @@

status = "disabled";
};
Expand Down

0 comments on commit ca25b4d

Please sign in to comment.