blob: b38f8252342eeb7e846d3699f0799c00d340cdcd [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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 - Claudiu Beznea <claudiu.beznea@microchip.com>
13
14properties:
15 compatible:
16 oneOf:
17 - enum:
18 - atmel,at91sam9g45-trng
19 - microchip,sam9x60-trng
20 - items:
21 - enum:
22 - microchip,sama7g5-trng
23 - const: atmel,at91sam9g45-trng
Tom Rini6bb92fc2024-05-20 09:54:58 -060024 - items:
25 - enum:
26 - microchip,sam9x7-trng
27 - const: microchip,sam9x60-trng
Tom Rini53633a82024-02-29 12:33:36 -050028
29 clocks:
30 maxItems: 1
31
32 interrupts:
33 maxItems: 1
34
35 reg:
36 maxItems: 1
37
38required:
39 - compatible
40 - clocks
41 - interrupts
42 - reg
43
44additionalProperties: false
45
46examples:
47 - |
48 #include <dt-bindings/interrupt-controller/irq.h>
49
50 rng@fffcc000 {
51 compatible = "atmel,at91sam9g45-trng";
52 reg = <0xfffcc000 0x4000>;
53 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
54 clocks = <&trng_clk>;
55 };