1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rng/atmel,at91-trng.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Atmel AT91 True Random Number Generator
8
9maintainers:
10  - Nicolas Ferre <nicolas.ferre@microchip.com>
11  - Alexandre Belloni <alexandre.belloni@bootlin.com>
12  - Ludovic Desroches <ludovic.desroches@microchip.com>
13
14properties:
15  compatible:
16    enum:
17      - atmel,at91sam9g45-trng
18      - microchip,sam9x60-trng
19
20  clocks:
21    maxItems: 1
22
23  interrupts:
24    maxItems: 1
25
26  reg:
27    maxItems: 1
28
29required:
30  - compatible
31  - clocks
32  - interrupts
33  - reg
34
35additionalProperties: false
36
37examples:
38  - |
39    #include <dt-bindings/interrupt-controller/irq.h>
40
41    rng@fffcc000 {
42        compatible = "atmel,at91sam9g45-trng";
43        reg = <0xfffcc000 0x4000>;
44        interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
45        clocks = <&trng_clk>;
46    };
47