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