aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/hwrng/timeriomem_rng.txt
diff options
context:
space:
mode:
authorAlexander Clouter <alex@digriz.org.uk>2013-03-31 12:34:51 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2013-04-25 09:01:46 -0400
commitb149a30d87d165e1079163fdab6f14e48b2f57b2 (patch)
treed6ced5787f9831ea9daa759bd600de59a4705a65 /Documentation/devicetree/bindings/hwrng/timeriomem_rng.txt
parent1907da78bf6a3f74e5d030a4a4f6700ba0d0a234 (diff)
hwrng: timeriomem - added devicetree hooks
This patch allows timeriomem_rng to be used via devicetree. Signed-off-by: Alexander Clouter <alex@digriz.org.uk> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/devicetree/bindings/hwrng/timeriomem_rng.txt')
-rw-r--r--Documentation/devicetree/bindings/hwrng/timeriomem_rng.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwrng/timeriomem_rng.txt b/Documentation/devicetree/bindings/hwrng/timeriomem_rng.txt
new file mode 100644
index 000000000000..6616d15866a3
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwrng/timeriomem_rng.txt
@@ -0,0 +1,18 @@
1HWRNG support for the timeriomem_rng driver
2
3Required properties:
4- compatible : "timeriomem_rng"
5- reg : base address to sample from
6- period : wait time in microseconds to use between samples
7
8N.B. currently 'reg' must be four bytes wide and aligned
9
10Example:
11
12hwrng@44 {
13 #address-cells = <1>;
14 #size-cells = <1>;
15 compatible = "timeriomem_rng";
16 reg = <0x44 0x04>;
17 period = <1000000>;
18};