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 - 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 24 - items: 25 - enum: 26 - microchip,sam9x7-trng 27 - microchip,sama7d65-trng 28 - const: microchip,sam9x60-trng 29 30 clocks: 31 maxItems: 1 32 33 interrupts: 34 maxItems: 1 35 36 reg: 37 maxItems: 1 38 39required: 40 - compatible 41 - clocks 42 - interrupts 43 - reg 44 45additionalProperties: false 46 47examples: 48 - | 49 #include <dt-bindings/interrupt-controller/irq.h> 50 51 rng@fffcc000 { 52 compatible = "atmel,at91sam9g45-trng"; 53 reg = <0xfffcc000 0x4000>; 54 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>; 55 clocks = <&trng_clk>; 56 }; 57