xref: /freebsd/sys/contrib/device-tree/Bindings/rng/starfive,jh7110-trng.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1*cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*cb7aa33aSEmmanuel Vadot%YAML 1.2
3*cb7aa33aSEmmanuel Vadot---
4*cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/rng/starfive,jh7110-trng.yaml#
5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*cb7aa33aSEmmanuel Vadot
7*cb7aa33aSEmmanuel Vadottitle: StarFive SoC TRNG Module
8*cb7aa33aSEmmanuel Vadot
9*cb7aa33aSEmmanuel Vadotmaintainers:
10*cb7aa33aSEmmanuel Vadot  - Jia Jie Ho <jiajie.ho@starfivetech.com>
11*cb7aa33aSEmmanuel Vadot
12*cb7aa33aSEmmanuel Vadotproperties:
13*cb7aa33aSEmmanuel Vadot  compatible:
14*cb7aa33aSEmmanuel Vadot    const: starfive,jh7110-trng
15*cb7aa33aSEmmanuel Vadot
16*cb7aa33aSEmmanuel Vadot  reg:
17*cb7aa33aSEmmanuel Vadot    maxItems: 1
18*cb7aa33aSEmmanuel Vadot
19*cb7aa33aSEmmanuel Vadot  clocks:
20*cb7aa33aSEmmanuel Vadot    items:
21*cb7aa33aSEmmanuel Vadot      - description: Hardware reference clock
22*cb7aa33aSEmmanuel Vadot      - description: AHB reference clock
23*cb7aa33aSEmmanuel Vadot
24*cb7aa33aSEmmanuel Vadot  clock-names:
25*cb7aa33aSEmmanuel Vadot    items:
26*cb7aa33aSEmmanuel Vadot      - const: hclk
27*cb7aa33aSEmmanuel Vadot      - const: ahb
28*cb7aa33aSEmmanuel Vadot
29*cb7aa33aSEmmanuel Vadot  resets:
30*cb7aa33aSEmmanuel Vadot    maxItems: 1
31*cb7aa33aSEmmanuel Vadot
32*cb7aa33aSEmmanuel Vadot  interrupts:
33*cb7aa33aSEmmanuel Vadot    maxItems: 1
34*cb7aa33aSEmmanuel Vadot
35*cb7aa33aSEmmanuel Vadotrequired:
36*cb7aa33aSEmmanuel Vadot  - compatible
37*cb7aa33aSEmmanuel Vadot  - reg
38*cb7aa33aSEmmanuel Vadot  - clocks
39*cb7aa33aSEmmanuel Vadot  - clock-names
40*cb7aa33aSEmmanuel Vadot  - resets
41*cb7aa33aSEmmanuel Vadot  - interrupts
42*cb7aa33aSEmmanuel Vadot
43*cb7aa33aSEmmanuel VadotadditionalProperties: false
44*cb7aa33aSEmmanuel Vadot
45*cb7aa33aSEmmanuel Vadotexamples:
46*cb7aa33aSEmmanuel Vadot  - |
47*cb7aa33aSEmmanuel Vadot    rng: rng@1600C000 {
48*cb7aa33aSEmmanuel Vadot        compatible = "starfive,jh7110-trng";
49*cb7aa33aSEmmanuel Vadot        reg = <0x1600C000 0x4000>;
50*cb7aa33aSEmmanuel Vadot        clocks = <&clk 15>, <&clk 16>;
51*cb7aa33aSEmmanuel Vadot        clock-names = "hclk", "ahb";
52*cb7aa33aSEmmanuel Vadot        resets = <&reset 3>;
53*cb7aa33aSEmmanuel Vadot        interrupts = <30>;
54*cb7aa33aSEmmanuel Vadot    };
55*cb7aa33aSEmmanuel Vadot...
56