Skip to content

Commit

Permalink
dt-bindings: rng: add bindings doc for Keystone SA HWRNG driver
Browse files Browse the repository at this point in the history
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 <vitalya@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Vitaly Andrianov authored and Herbert Xu committed Mar 23, 2018
1 parent 1d17cbf commit 2805894
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Documentation/devicetree/bindings/rng/ks-sa-rng.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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>;
};

0 comments on commit 2805894

Please sign in to comment.