xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rng/ks-sa-rng.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunKeystone SoC Hardware Random Number Generator(HWRNG) Module
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunOn Keystone SoCs HWRNG module is a submodule of the Security Accelerator.
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun- compatible: should be "ti,keystone-rng"
6*4882a593Smuzhiyun- ti,syscon-sa-cfg: phandle to syscon node of the SA configuration registers.
7*4882a593Smuzhiyun		    This registers are shared between hwrng and crypto drivers.
8*4882a593Smuzhiyun- clocks: phandle to the reference clocks for the subsystem
9*4882a593Smuzhiyun- clock-names: functional clock name. Should be set to "fck"
10*4882a593Smuzhiyun- reg: HWRNG module register space
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunExample:
13*4882a593Smuzhiyun/* K2HK */
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunrng@24000 {
16*4882a593Smuzhiyun	compatible = "ti,keystone-rng";
17*4882a593Smuzhiyun	ti,syscon-sa-cfg = <&sa_config>;
18*4882a593Smuzhiyun	clocks = <&clksa>;
19*4882a593Smuzhiyun	clock-names = "fck";
20*4882a593Smuzhiyun	reg = <0x24000 0x1000>;
21*4882a593Smuzhiyun};
22