Skip to content

Commit 2805894

Browse files
Vitaly Andrianovherbertx
authored andcommitted
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: Vitaly Andrianov <[email protected]> Signed-off-by: Murali Karicheri <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 1d17cbf commit 2805894

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
};

0 commit comments

Comments
 (0)