]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/rng/atmel,at91-trng.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / rng / atmel,at91-trng.yaml
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
7 title: Atmel AT91 True Random Number Generator
8
9 maintainers:
10 - Nicolas Ferre <nicolas.ferre@microchip.com>
11 - Alexandre Belloni <alexandre.belloni@bootlin.com>
12 - Claudiu Beznea <claudiu.beznea@microchip.com>
13
14 properties:
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
24
25 clocks:
26 maxItems: 1
27
28 interrupts:
29 maxItems: 1
30
31 reg:
32 maxItems: 1
33
34 required:
35 - compatible
36 - clocks
37 - interrupts
38 - reg
39
40 additionalProperties: false
41
42 examples:
43 - |
44 #include <dt-bindings/interrupt-controller/irq.h>
45
46 rng@fffcc000 {
47 compatible = "atmel,at91sam9g45-trng";
48 reg = <0xfffcc000 0x4000>;
49 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
50 clocks = <&trng_clk>;
51 };