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