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