| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | HWRNG support for the timeriomem_rng driver |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : "timeriomem_rng" |
| 5 | - reg : base address to sample from |
| 6 | - period : wait time in microseconds to use between samples |
| 7 | |
| 8 | Optional properties: |
| 9 | - quality : estimated number of bits of true entropy per 1024 bits read from the |
| 10 | rng. Defaults to zero which causes the kernel's default quality to |
| 11 | be used instead. Note that the default quality is usually zero |
| 12 | which disables using this rng to automatically fill the kernel's |
| 13 | entropy pool. |
| 14 | |
| 15 | N.B. currently 'reg' must be at least four bytes wide and 32-bit aligned |
| 16 | |
| 17 | Example: |
| 18 | |
| 19 | hwrng@44 { |
| 20 | #address-cells = <1>; |
| 21 | #size-cells = <1>; |
| 22 | compatible = "timeriomem_rng"; |
| 23 | reg = <0x44 0x04>; |
| 24 | period = <1000000>; |
| 25 | }; |