xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rng/timeriomem_rng.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunHWRNG support for the timeriomem_rng driver
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible : "timeriomem_rng"
5*4882a593Smuzhiyun- reg : base address to sample from
6*4882a593Smuzhiyun- period : wait time in microseconds to use between samples
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunOptional properties:
9*4882a593Smuzhiyun- quality : estimated number of bits of true entropy per 1024 bits read from the
10*4882a593Smuzhiyun            rng.  Defaults to zero which causes the kernel's default quality to
11*4882a593Smuzhiyun            be used instead.  Note that the default quality is usually zero
12*4882a593Smuzhiyun            which disables using this rng to automatically fill the kernel's
13*4882a593Smuzhiyun            entropy pool.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunN.B. currently 'reg' must be at least four bytes wide and 32-bit aligned
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunExample:
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunhwrng@44 {
20*4882a593Smuzhiyun	#address-cells = <1>;
21*4882a593Smuzhiyun	#size-cells = <1>;
22*4882a593Smuzhiyun	compatible = "timeriomem_rng";
23*4882a593Smuzhiyun	reg = <0x44 0x04>;
24*4882a593Smuzhiyun	period = <1000000>;
25*4882a593Smuzhiyun};
26