Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/crypto/qcom,prng.yaml
48375 views
1
# SPDX-License-Identifier: GPL-2.0-only
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/crypto/qcom,prng.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Qualcomm Pseudo Random Number Generator
8
9
maintainers:
10
- Vinod Koul <vkoul@kernel.org>
11
12
properties:
13
compatible:
14
oneOf:
15
- enum:
16
- qcom,prng # 8916 etc.
17
- qcom,prng-ee # 8996 and later using EE
18
- items:
19
- enum:
20
- qcom,sa8255p-trng
21
- qcom,sa8775p-trng
22
- qcom,sc7280-trng
23
- qcom,sm8450-trng
24
- qcom,sm8550-trng
25
- qcom,sm8650-trng
26
- const: qcom,trng
27
28
reg:
29
maxItems: 1
30
31
clocks:
32
maxItems: 1
33
34
clock-names:
35
items:
36
- const: core
37
38
required:
39
- compatible
40
- reg
41
42
allOf:
43
- if:
44
not:
45
properties:
46
compatible:
47
contains:
48
const: qcom,trng
49
then:
50
required:
51
- clocks
52
- clock-names
53
54
additionalProperties: false
55
56
examples:
57
- |
58
rng@f9bff000 {
59
compatible = "qcom,prng";
60
reg = <0xf9bff000 0x200>;
61
clocks = <&clk 125>;
62
clock-names = "core";
63
};
64
65