mirror of https://github.com/hak5/openwrt-owl.git
ipq806x: enable hw pseudo random number generator
Enables support for pseudo random number generator in device tree. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>owl
parent
44b44595dc
commit
ca25b4d729
|
@ -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>;
|
|
@ -121,7 +121,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
|
||||||
};
|
};
|
||||||
--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
|
--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
|
||||||
+++ b/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";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue