Vitaly Andrianov | 2805894 | 2018-03-13 13:33:30 -0400 | [diff] [blame] | 1 | Keystone SoC Hardware Random Number Generator(HWRNG) Module |
| 2 | |
| 3 | On Keystone SoCs HWRNG module is a submodule of the Security Accelerator. |
| 4 | |
| 5 | - compatible: should be "ti,keystone-rng" |
| 6 | - ti,syscon-sa-cfg: phandle to syscon node of the SA configuration registers. |
| 7 | This registers are shared between hwrng and crypto drivers. |
| 8 | - clocks: phandle to the reference clocks for the subsystem |
| 9 | - clock-names: functional clock name. Should be set to "fck" |
| 10 | - reg: HWRNG module register space |
| 11 | |
| 12 | Example: |
| 13 | /* K2HK */ |
| 14 | |
| 15 | rng@24000 { |
| 16 | compatible = "ti,keystone-rng"; |
| 17 | ti,syscon-sa-cfg = <&sa_config>; |
| 18 | clocks = <&clksa>; |
| 19 | clock-names = "fck"; |
| 20 | reg = <0x24000 0x1000>; |
| 21 | }; |