xref: /linux/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml (revision 06d07429858317ded2db7986113a9e0129cd599b)
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
7title: StarFive SoC TRNG Module
8
9maintainers:
10  - Jia Jie Ho <jiajie.ho@starfivetech.com>
11
12properties:
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
39required:
40  - compatible
41  - reg
42  - clocks
43  - clock-names
44  - resets
45  - interrupts
46
47additionalProperties: false
48
49examples:
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...
60