diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2017-07-07 16:57:10 +0200 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2017-08-08 14:53:03 -0500 |
commit | 6bfe03ddcd670e34a3fd8d3e573fd70580645ee1 (patch) | |
tree | e968d3c3e480b7bbb0685c7f1f60e2f2f96c501a /arch/arm/boot/dts/qcom-ipq4019.dtsi | |
parent | 75ea98acf7c62bf9dbe81eb5dd331ff670a649e5 (diff) | |
download | lwn-6bfe03ddcd670e34a3fd8d3e573fd70580645ee1.tar.gz lwn-6bfe03ddcd670e34a3fd8d3e573fd70580645ee1.zip |
ARM: dts: qcom: add pseudo random number generator on the IPQ4019
This architecture has a pseudo random number generator
supported by the existing "qcom,prng" binding.
rngtest: bits received from input: 5795960032
rngtest: FIPS 140-2 successes: 289591
rngtest: FIPS 140-2 failures: 207
rngtest: FIPS 140-2(2001-10-10) Monobit: 25
rngtest: FIPS 140-2(2001-10-10) Poker: 28
rngtest: FIPS 140-2(2001-10-10) Runs: 91
rngtest: FIPS 140-2(2001-10-10) Long run: 67
rngtest: FIPS 140-2(2001-10-10) Continuous run: 0
rngtest: input channel speed: (min=244; avg=46122; max=3906250)Kibits/s
rngtest: FIPS tests speed: (min=1.327; avg=20.966; max=26.345)Mibits/s
rngtest: Program run time: 386965827 microseconds
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-ipq4019.dtsi')
-rw-r--r-- | arch/arm/boot/dts/qcom-ipq4019.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index bd4b3c52d868..069243bc161c 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -134,6 +134,14 @@ reg = <0x1800000 0x60000>; }; + rng@22000 { + compatible = "qcom,prng"; + reg = <0x22000 0x140>; + clocks = <&gcc GCC_PRNG_AHB_CLK>; + clock-names = "core"; + status = "disabled"; + }; + tlmm: pinctrl@1000000 { compatible = "qcom,ipq4019-pinctrl"; reg = <0x01000000 0x300000>; |