ipq806x: enable hw pseudo random number generator
[openwrt/openwrt.git] / target / linux / ipq806x / patches-4.4 / 316-dt-add-prng-support.patch
1 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
2 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
3 @@ -336,6 +336,13 @@
4 };
5 };
6
7 + rng@1a500000 {
8 + compatible = "qcom,prng";
9 + reg = <0x1a500000 0x200>;
10 + clocks = <&gcc PRNG_CLK>;
11 + clock-names = "core";
12 + };
13 +
14 qcom_pinmux: pinmux@800000 {
15 compatible = "qcom,ipq8064-pinctrl";
16 reg = <0x800000 0x4000>;