Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/rng/atmel,at91-trng.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Atmel AT91 True Random Number Generator
0008 
0009 maintainers:
0010   - Nicolas Ferre <nicolas.ferre@microchip.com>
0011   - Alexandre Belloni <alexandre.belloni@bootlin.com>
0012   - Claudiu Beznea <claudiu.beznea@microchip.com>
0013 
0014 properties:
0015   compatible:
0016     oneOf:
0017       - enum:
0018           - atmel,at91sam9g45-trng
0019           - microchip,sam9x60-trng
0020       - items:
0021           - enum:
0022               - microchip,sama7g5-trng
0023           - const: atmel,at91sam9g45-trng
0024 
0025   clocks:
0026     maxItems: 1
0027 
0028   interrupts:
0029     maxItems: 1
0030 
0031   reg:
0032     maxItems: 1
0033 
0034 required:
0035   - compatible
0036   - clocks
0037   - interrupts
0038   - reg
0039 
0040 additionalProperties: false
0041 
0042 examples:
0043   - |
0044     #include <dt-bindings/interrupt-controller/irq.h>
0045 
0046     rng@fffcc000 {
0047         compatible = "atmel,at91sam9g45-trng";
0048         reg = <0xfffcc000 0x4000>;
0049         interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
0050         clocks = <&trng_clk>;
0051     };