forked from Minki/linux
b149a30d87
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>
19 lines
393 B
Plaintext
19 lines
393 B
Plaintext
HWRNG support for the timeriomem_rng driver
|
|
|
|
Required properties:
|
|
- compatible : "timeriomem_rng"
|
|
- reg : base address to sample from
|
|
- period : wait time in microseconds to use between samples
|
|
|
|
N.B. currently 'reg' must be four bytes wide and aligned
|
|
|
|
Example:
|
|
|
|
hwrng@44 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "timeriomem_rng";
|
|
reg = <0x44 0x04>;
|
|
period = <1000000>;
|
|
};
|