xref: /openbmc/linux/Documentation/devicetree/bindings/rng/arm-cctrng.yaml (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
1ffb57daaSHadar Gat# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2ffb57daaSHadar Gat%YAML 1.2
3ffb57daaSHadar Gat---
4ffb57daaSHadar Gat$id: http://devicetree.org/schemas/rng/arm-cctrng.yaml#
5ffb57daaSHadar Gat$schema: http://devicetree.org/meta-schemas/core.yaml#
6ffb57daaSHadar Gat
7ffb57daaSHadar Gattitle: Arm TrustZone CryptoCell TRNG engine
8ffb57daaSHadar Gat
9ffb57daaSHadar Gatmaintainers:
10ffb57daaSHadar Gat  - Hadar Gat <hadar.gat@arm.com>
11ffb57daaSHadar Gat
12ffb57daaSHadar Gatdescription: |+
13ffb57daaSHadar Gat  Arm TrustZone CryptoCell TRNG (True Random Number Generator) engine.
14ffb57daaSHadar Gat
15ffb57daaSHadar Gatproperties:
16ffb57daaSHadar Gat  compatible:
17ffb57daaSHadar Gat    enum:
18ffb57daaSHadar Gat      - arm,cryptocell-713-trng
19ffb57daaSHadar Gat      - arm,cryptocell-703-trng
20ffb57daaSHadar Gat
21ffb57daaSHadar Gat  interrupts:
22ffb57daaSHadar Gat    maxItems: 1
23ffb57daaSHadar Gat
24ffb57daaSHadar Gat  reg:
25ffb57daaSHadar Gat    maxItems: 1
26ffb57daaSHadar Gat
27ffb57daaSHadar Gat  arm,rosc-ratio:
28ffb57daaSHadar Gat    description:
29ffb57daaSHadar Gat      Arm TrustZone CryptoCell TRNG engine has 4 ring oscillators.
30ffb57daaSHadar Gat      Sampling ratio values for these 4 ring oscillators. (from calibration)
31*086e9074SRob Herring    $ref: /schemas/types.yaml#/definitions/uint32-array
32ffb57daaSHadar Gat    maxItems: 4
33ffb57daaSHadar Gat
34ffb57daaSHadar Gat  clocks:
35ffb57daaSHadar Gat    maxItems: 1
36ffb57daaSHadar Gat
37ffb57daaSHadar Gatrequired:
38ffb57daaSHadar Gat  - compatible
39ffb57daaSHadar Gat  - interrupts
40ffb57daaSHadar Gat  - reg
41ffb57daaSHadar Gat  - arm,rosc-ratio
42ffb57daaSHadar Gat
43ffb57daaSHadar GatadditionalProperties: false
44ffb57daaSHadar Gat
45ffb57daaSHadar Gatexamples:
46ffb57daaSHadar Gat  - |
47ffb57daaSHadar Gat    arm_cctrng: rng@60000000 {
48ffb57daaSHadar Gat        compatible = "arm,cryptocell-713-trng";
49ffb57daaSHadar Gat        interrupts = <0 29 4>;
50ffb57daaSHadar Gat        reg = <0x60000000 0x10000>;
51ffb57daaSHadar Gat        arm,rosc-ratio = <5000 1000 500 0>;
52ffb57daaSHadar Gat    };
53