summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/crypto/qcom,prng.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/crypto/qcom,prng.txt')
-rw-r--r--dts/Bindings/crypto/qcom,prng.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/dts/Bindings/crypto/qcom,prng.txt b/dts/Bindings/crypto/qcom,prng.txt
new file mode 100644
index 0000000..7ee0e9e
--- /dev/null
+++ b/dts/Bindings/crypto/qcom,prng.txt
@@ -0,0 +1,19 @@
+Qualcomm MSM pseudo random number generator.
+
+Required properties:
+
+- compatible : should be "qcom,prng" for 8916 etc
+ : should be "qcom,prng-ee" for 8996 and later using EE
+ (Execution Environment) slice of prng
+- reg : specifies base physical address and size of the registers map
+- clocks : phandle to clock-controller plus clock-specifier pair
+- clock-names : "core" clocks all registers, FIFO and circuits in PRNG IP block
+
+Example:
+
+ rng@f9bff000 {
+ compatible = "qcom,prng";
+ reg = <0xf9bff000 0x200>;
+ clocks = <&clock GCC_PRNG_AHB_CLK>;
+ clock-names = "core";
+ };