xref: /freebsd/sys/contrib/device-tree/Bindings/rng/airoha,en7581-trng.yaml (revision 5f62a964e9f8abc6a05d8338273fadd154f0a206)
1*5f62a964SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*5f62a964SEmmanuel Vadot%YAML 1.2
3*5f62a964SEmmanuel Vadot---
4*5f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/rng/airoha,en7581-trng.yaml#
5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5f62a964SEmmanuel Vadot
7*5f62a964SEmmanuel Vadottitle: Airoha EN7851 True Random Number Generator
8*5f62a964SEmmanuel Vadot
9*5f62a964SEmmanuel Vadotmaintainers:
10*5f62a964SEmmanuel Vadot  - Christian Marangi <ansuelsmth@gmail.com>
11*5f62a964SEmmanuel Vadot
12*5f62a964SEmmanuel Vadotproperties:
13*5f62a964SEmmanuel Vadot  compatible:
14*5f62a964SEmmanuel Vadot    const: airoha,en7581-trng
15*5f62a964SEmmanuel Vadot
16*5f62a964SEmmanuel Vadot  reg:
17*5f62a964SEmmanuel Vadot    maxItems: 1
18*5f62a964SEmmanuel Vadot
19*5f62a964SEmmanuel Vadot  interrupts:
20*5f62a964SEmmanuel Vadot    maxItems: 1
21*5f62a964SEmmanuel Vadot
22*5f62a964SEmmanuel Vadotrequired:
23*5f62a964SEmmanuel Vadot  - compatible
24*5f62a964SEmmanuel Vadot  - reg
25*5f62a964SEmmanuel Vadot  - interrupts
26*5f62a964SEmmanuel Vadot
27*5f62a964SEmmanuel VadotadditionalProperties: false
28*5f62a964SEmmanuel Vadot
29*5f62a964SEmmanuel Vadotexamples:
30*5f62a964SEmmanuel Vadot  - |
31*5f62a964SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
32*5f62a964SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
33*5f62a964SEmmanuel Vadot
34*5f62a964SEmmanuel Vadot    rng@1faa1000 {
35*5f62a964SEmmanuel Vadot        compatible = "airoha,en7581-trng";
36*5f62a964SEmmanuel Vadot        reg = <0x1faa1000 0x1000>;
37*5f62a964SEmmanuel Vadot        interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
38*5f62a964SEmmanuel Vadot    };
39