GNU Linux-libre 6.8.9-gnu
[releases.git] / Documentation / devicetree / bindings / rng / starfive,jh7110-trng.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/rng/starfive,jh7110-trng.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: StarFive SoC TRNG Module
8
9 maintainers:
10   - Jia Jie Ho <jiajie.ho@starfivetech.com>
11
12 properties:
13   compatible:
14     oneOf:
15       - items:
16           - const: starfive,jh8100-trng
17           - const: starfive,jh7110-trng
18       - const: starfive,jh7110-trng
19
20   reg:
21     maxItems: 1
22
23   clocks:
24     items:
25       - description: Hardware reference clock
26       - description: AHB reference clock
27
28   clock-names:
29     items:
30       - const: hclk
31       - const: ahb
32
33   resets:
34     maxItems: 1
35
36   interrupts:
37     maxItems: 1
38
39 required:
40   - compatible
41   - reg
42   - clocks
43   - clock-names
44   - resets
45   - interrupts
46
47 additionalProperties: false
48
49 examples:
50   - |
51     rng: rng@1600C000 {
52         compatible = "starfive,jh7110-trng";
53         reg = <0x1600C000 0x4000>;
54         clocks = <&clk 15>, <&clk 16>;
55         clock-names = "hclk", "ahb";
56         resets = <&reset 3>;
57         interrupts = <30>;
58     };
59 ...