1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/rng/airoha,en7581-trng.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Airoha EN7851 True Random Number Generator 8 9maintainers: 10 - Christian Marangi <ansuelsmth@gmail.com> 11 12properties: 13 compatible: 14 const: airoha,en7581-trng 15 16 reg: 17 maxItems: 1 18 19 interrupts: 20 maxItems: 1 21 22required: 23 - compatible 24 - reg 25 - interrupts 26 27additionalProperties: false 28 29examples: 30 - | 31 #include <dt-bindings/interrupt-controller/irq.h> 32 #include <dt-bindings/interrupt-controller/arm-gic.h> 33 34 rng@1faa1000 { 35 compatible = "airoha,en7581-trng"; 36 reg = <0x1faa1000 0x1000>; 37 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; 38 }; 39