Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2805894c authored by Vitaly Andrianov's avatar Vitaly Andrianov Committed by Herbert Xu
Browse files

dt-bindings: rng: add bindings doc for Keystone SA HWRNG driver



The Keystone SA module has a hardware random generator module.
This commit adds binding doc for the KS2 SA HWRNG driver.

Signed-off-by: default avatarVitaly Andrianov <vitalya@ti.com>
Signed-off-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1d17cbfb
Loading
Loading
Loading
Loading
+21 −0
Original line number Original line Diff line number Diff line
Keystone SoC Hardware Random Number Generator(HWRNG) Module

On Keystone SoCs HWRNG module is a submodule of the Security Accelerator.

- compatible: should be "ti,keystone-rng"
- ti,syscon-sa-cfg: phandle to syscon node of the SA configuration registers.
		    This registers are shared between hwrng and crypto drivers.
- clocks: phandle to the reference clocks for the subsystem
- clock-names: functional clock name. Should be set to "fck"
- reg: HWRNG module register space

Example:
/* K2HK */

rng@24000 {
	compatible = "ti,keystone-rng";
	ti,syscon-sa-cfg = <&sa_config>;
	clocks = <&clksa>;
	clock-names = "fck";
	reg = <0x24000 0x1000>;
};