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    const: starfive,jh7110-trng
15
16  reg:
17    maxItems: 1
18
19  clocks:
20    items:
21      - description: Hardware reference clock
22      - description: AHB reference clock
23
24  clock-names:
25    items:
26      - const: hclk
27      - const: ahb
28
29  resets:
30    maxItems: 1
31
32  interrupts:
33    maxItems: 1
34
35required:
36  - compatible
37  - reg
38  - clocks
39  - clock-names
40  - resets
41  - interrupts
42
43additionalProperties: false
44
45examples:
46  - |
47    rng: rng@1600C000 {
48        compatible = "starfive,jh7110-trng";
49        reg = <0x1600C000 0x4000>;
50        clocks = <&clk 15>, <&clk 16>;
51        clock-names = "hclk", "ahb";
52        resets = <&reset 3>;
53        interrupts = <30>;
54    };
55...
56