xref: /freebsd/sys/contrib/device-tree/Bindings/rng/atmel,at91-trng.yaml (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2e67e8565SEmmanuel Vadot%YAML 1.2
3e67e8565SEmmanuel Vadot---
4e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/rng/atmel,at91-trng.yaml#
5e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6e67e8565SEmmanuel Vadot
7e67e8565SEmmanuel Vadottitle: Atmel AT91 True Random Number Generator
8e67e8565SEmmanuel Vadot
9e67e8565SEmmanuel Vadotmaintainers:
10e67e8565SEmmanuel Vadot  - Nicolas Ferre <nicolas.ferre@microchip.com>
11e67e8565SEmmanuel Vadot  - Alexandre Belloni <alexandre.belloni@bootlin.com>
12c9ccf3a3SEmmanuel Vadot  - Claudiu Beznea <claudiu.beznea@microchip.com>
13e67e8565SEmmanuel Vadot
14e67e8565SEmmanuel Vadotproperties:
15e67e8565SEmmanuel Vadot  compatible:
16e67e8565SEmmanuel Vadot    oneOf:
17e67e8565SEmmanuel Vadot      - enum:
18e67e8565SEmmanuel Vadot          - atmel,at91sam9g45-trng
19e67e8565SEmmanuel Vadot          - microchip,sam9x60-trng
20e67e8565SEmmanuel Vadot      - items:
21e67e8565SEmmanuel Vadot          - enum:
22e67e8565SEmmanuel Vadot              - microchip,sama7g5-trng
23e67e8565SEmmanuel Vadot          - const: atmel,at91sam9g45-trng
24*01950c46SEmmanuel Vadot      - items:
25*01950c46SEmmanuel Vadot          - enum:
26*01950c46SEmmanuel Vadot              - microchip,sam9x7-trng
27*01950c46SEmmanuel Vadot          - const: microchip,sam9x60-trng
28e67e8565SEmmanuel Vadot
29e67e8565SEmmanuel Vadot  clocks:
30e67e8565SEmmanuel Vadot    maxItems: 1
31e67e8565SEmmanuel Vadot
32e67e8565SEmmanuel Vadot  interrupts:
33e67e8565SEmmanuel Vadot    maxItems: 1
34e67e8565SEmmanuel Vadot
35e67e8565SEmmanuel Vadot  reg:
36e67e8565SEmmanuel Vadot    maxItems: 1
37e67e8565SEmmanuel Vadot
38e67e8565SEmmanuel Vadotrequired:
39e67e8565SEmmanuel Vadot  - compatible
40e67e8565SEmmanuel Vadot  - clocks
41e67e8565SEmmanuel Vadot  - interrupts
42e67e8565SEmmanuel Vadot  - reg
43e67e8565SEmmanuel Vadot
44e67e8565SEmmanuel VadotadditionalProperties: false
45e67e8565SEmmanuel Vadot
46e67e8565SEmmanuel Vadotexamples:
47e67e8565SEmmanuel Vadot  - |
48e67e8565SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
49e67e8565SEmmanuel Vadot
50e67e8565SEmmanuel Vadot    rng@fffcc000 {
51e67e8565SEmmanuel Vadot        compatible = "atmel,at91sam9g45-trng";
52e67e8565SEmmanuel Vadot        reg = <0xfffcc000 0x4000>;
53e67e8565SEmmanuel Vadot        interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
54e67e8565SEmmanuel Vadot        clocks = <&trng_clk>;
55e67e8565SEmmanuel Vadot    };
56