mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 13:13:57 +08:00
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>;
|
|
};
|