xref: /linux/Documentation/devicetree/bindings/rng/ti,keystone-rng.yaml (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1d5c010edSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2d5c010edSKrzysztof Kozlowski%YAML 1.2
3d5c010edSKrzysztof Kozlowski---
4d5c010edSKrzysztof Kozlowski$id: http://devicetree.org/schemas/rng/ti,keystone-rng.yaml#
5d5c010edSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6d5c010edSKrzysztof Kozlowski
7d5c010edSKrzysztof Kozlowskititle: Keystone SoC Hardware Random Number Generator
8d5c010edSKrzysztof Kozlowski
9d5c010edSKrzysztof Kozlowskimaintainers:
10d5c010edSKrzysztof Kozlowski  - Nishanth Menon <nm@ti.com>
11d5c010edSKrzysztof Kozlowski  - Santosh Shilimkar <ssantosh@kernel.org>
12d5c010edSKrzysztof Kozlowski
13d5c010edSKrzysztof Kozlowskiproperties:
14d5c010edSKrzysztof Kozlowski  compatible:
15d5c010edSKrzysztof Kozlowski    const: ti,keystone-rng
16d5c010edSKrzysztof Kozlowski
17d5c010edSKrzysztof Kozlowski  clocks:
18d5c010edSKrzysztof Kozlowski    maxItems: 1
19d5c010edSKrzysztof Kozlowski
20d5c010edSKrzysztof Kozlowski  clock-names:
21d5c010edSKrzysztof Kozlowski    items:
22d5c010edSKrzysztof Kozlowski      - const: fck
23d5c010edSKrzysztof Kozlowski
24d5c010edSKrzysztof Kozlowski  reg:
25d5c010edSKrzysztof Kozlowski    maxItems: 1
26d5c010edSKrzysztof Kozlowski
27d5c010edSKrzysztof Kozlowski  ti,syscon-sa-cfg:
28*66ae0535SRob Herring    $ref: /schemas/types.yaml#/definitions/phandle
29d5c010edSKrzysztof Kozlowski    description: |
30d5c010edSKrzysztof Kozlowski      Phandle to syscon node of the SA configuration registers.  These
31d5c010edSKrzysztof Kozlowski      registers are shared between HWRNG and crypto drivers.
32d5c010edSKrzysztof Kozlowski
33d5c010edSKrzysztof Kozlowskirequired:
34d5c010edSKrzysztof Kozlowski  - compatible
35d5c010edSKrzysztof Kozlowski  - clocks
36d5c010edSKrzysztof Kozlowski  - clock-names
37d5c010edSKrzysztof Kozlowski  - reg
38d5c010edSKrzysztof Kozlowski  - ti,syscon-sa-cfg
39d5c010edSKrzysztof Kozlowski
40d5c010edSKrzysztof KozlowskiadditionalProperties: false
41d5c010edSKrzysztof Kozlowski
42d5c010edSKrzysztof Kozlowskiexamples:
43d5c010edSKrzysztof Kozlowski  - |
44d5c010edSKrzysztof Kozlowski    rng@24000 {
45d5c010edSKrzysztof Kozlowski        compatible = "ti,keystone-rng";
46d5c010edSKrzysztof Kozlowski        ti,syscon-sa-cfg = <&sa_config>;
47d5c010edSKrzysztof Kozlowski        clocks = <&clksa>;
48d5c010edSKrzysztof Kozlowski        clock-names = "fck";
49d5c010edSKrzysztof Kozlowski        reg = <0x24000 0x1000>;
50d5c010edSKrzysztof Kozlowski    };
51