xref: /linux/Documentation/devicetree/bindings/rng/inside-secure,safexcel-eip76.yaml (revision c4fdae903b2d7bf47df020951a67c690b46bf8b4)
1*c4fdae90SRob Herring (Arm)# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*c4fdae90SRob Herring (Arm)%YAML 1.2
3*c4fdae90SRob Herring (Arm)---
4*c4fdae90SRob Herring (Arm)$id: http://devicetree.org/schemas/rng/inside-secure,safexcel-eip76.yaml#
5*c4fdae90SRob Herring (Arm)$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c4fdae90SRob Herring (Arm)
7*c4fdae90SRob Herring (Arm)title: Inside-Secure HWRNG Module
8*c4fdae90SRob Herring (Arm)
9*c4fdae90SRob Herring (Arm)maintainers:
10*c4fdae90SRob Herring (Arm)  - Jayesh Choudhary <j-choudhary@ti.com>
11*c4fdae90SRob Herring (Arm)
12*c4fdae90SRob Herring (Arm)properties:
13*c4fdae90SRob Herring (Arm)  compatible:
14*c4fdae90SRob Herring (Arm)    oneOf:
15*c4fdae90SRob Herring (Arm)      - enum:
16*c4fdae90SRob Herring (Arm)          - ti,omap2-rng
17*c4fdae90SRob Herring (Arm)          - ti,omap4-rng
18*c4fdae90SRob Herring (Arm)          - inside-secure,safexcel-eip76
19*c4fdae90SRob Herring (Arm)      - items:
20*c4fdae90SRob Herring (Arm)          - enum:
21*c4fdae90SRob Herring (Arm)              - marvell,armada-8k-rng
22*c4fdae90SRob Herring (Arm)          - const: inside-secure,safexcel-eip76
23*c4fdae90SRob Herring (Arm)
24*c4fdae90SRob Herring (Arm)  ti,hwmods:
25*c4fdae90SRob Herring (Arm)    const: rng
26*c4fdae90SRob Herring (Arm)    deprecated: true
27*c4fdae90SRob Herring (Arm)    description: Name of the hwmod associated with the RNG module
28*c4fdae90SRob Herring (Arm)
29*c4fdae90SRob Herring (Arm)  reg:
30*c4fdae90SRob Herring (Arm)    maxItems: 1
31*c4fdae90SRob Herring (Arm)
32*c4fdae90SRob Herring (Arm)  interrupts:
33*c4fdae90SRob Herring (Arm)    maxItems: 1
34*c4fdae90SRob Herring (Arm)
35*c4fdae90SRob Herring (Arm)  clocks:
36*c4fdae90SRob Herring (Arm)    minItems: 1
37*c4fdae90SRob Herring (Arm)    items:
38*c4fdae90SRob Herring (Arm)      - description: EIP150 gateable clock
39*c4fdae90SRob Herring (Arm)      - description: Main gateable clock
40*c4fdae90SRob Herring (Arm)
41*c4fdae90SRob Herring (Arm)  clock-names:
42*c4fdae90SRob Herring (Arm)    minItems: 1
43*c4fdae90SRob Herring (Arm)    items:
44*c4fdae90SRob Herring (Arm)      - const: core
45*c4fdae90SRob Herring (Arm)      - const: reg
46*c4fdae90SRob Herring (Arm)
47*c4fdae90SRob Herring (Arm)
48*c4fdae90SRob Herring (Arm)allOf:
49*c4fdae90SRob Herring (Arm)  - if:
50*c4fdae90SRob Herring (Arm)      properties:
51*c4fdae90SRob Herring (Arm)        compatible:
52*c4fdae90SRob Herring (Arm)          contains:
53*c4fdae90SRob Herring (Arm)            enum:
54*c4fdae90SRob Herring (Arm)              - ti,omap4-rng
55*c4fdae90SRob Herring (Arm)              - inside-secure,safexcel-eip76
56*c4fdae90SRob Herring (Arm)
57*c4fdae90SRob Herring (Arm)    then:
58*c4fdae90SRob Herring (Arm)      required:
59*c4fdae90SRob Herring (Arm)        - interrupts
60*c4fdae90SRob Herring (Arm)
61*c4fdae90SRob Herring (Arm)
62*c4fdae90SRob Herring (Arm)required:
63*c4fdae90SRob Herring (Arm)  - compatible
64*c4fdae90SRob Herring (Arm)  - reg
65*c4fdae90SRob Herring (Arm)
66*c4fdae90SRob Herring (Arm)additionalProperties: false
67*c4fdae90SRob Herring (Arm)
68*c4fdae90SRob Herring (Arm)examples:
69*c4fdae90SRob Herring (Arm)  - |
70*c4fdae90SRob Herring (Arm)    /* AM335x */
71*c4fdae90SRob Herring (Arm)    rng: rng@48310000 {
72*c4fdae90SRob Herring (Arm)            compatible = "ti,omap4-rng";
73*c4fdae90SRob Herring (Arm)            ti,hwmods = "rng";
74*c4fdae90SRob Herring (Arm)            reg = <0x48310000 0x2000>;
75*c4fdae90SRob Herring (Arm)            interrupts = <111>;
76*c4fdae90SRob Herring (Arm)    };
77*c4fdae90SRob Herring (Arm)  - |
78*c4fdae90SRob Herring (Arm)    /* SafeXcel IP-76 */
79*c4fdae90SRob Herring (Arm)    trng: rng@f2760000 {
80*c4fdae90SRob Herring (Arm)            compatible = "inside-secure,safexcel-eip76";
81*c4fdae90SRob Herring (Arm)            reg = <0xf2760000 0x7d>;
82*c4fdae90SRob Herring (Arm)            interrupts = <0 59 4>;
83*c4fdae90SRob Herring (Arm)            clocks = <&cpm_syscon0 1 25>;
84*c4fdae90SRob Herring (Arm)    };
85*c4fdae90SRob Herring (Arm)
86*c4fdae90SRob Herring (Arm)...
87