Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/rng/ti,keystone-rng.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Keystone SoC Hardware Random Number Generator
0008 
0009 maintainers:
0010   - Nishanth Menon <nm@ti.com>
0011   - Santosh Shilimkar <ssantosh@kernel.org>
0012 
0013 properties:
0014   compatible:
0015     const: ti,keystone-rng
0016 
0017   clocks:
0018     maxItems: 1
0019 
0020   clock-names:
0021     items:
0022       - const: fck
0023 
0024   reg:
0025     maxItems: 1
0026 
0027   ti,syscon-sa-cfg:
0028     $ref: "/schemas/types.yaml#/definitions/phandle"
0029     description: |
0030       Phandle to syscon node of the SA configuration registers.  These
0031       registers are shared between HWRNG and crypto drivers.
0032 
0033 required:
0034   - compatible
0035   - clocks
0036   - clock-names
0037   - reg
0038   - ti,syscon-sa-cfg
0039 
0040 additionalProperties: false
0041 
0042 examples:
0043   - |
0044     rng@24000 {
0045         compatible = "ti,keystone-rng";
0046         ti,syscon-sa-cfg = <&sa_config>;
0047         clocks = <&clksa>;
0048         clock-names = "fck";
0049         reg = <0x24000 0x1000>;
0050     };