| 
     1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/rng/apm,x-gene-rng.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: APM X-Gene SoC Random Number Generator
    8 
    9 maintainers:
   10   - Khuong Dinh <khuong@os.amperecomputing.com>
   11 
   12 properties:
   13   compatible:
   14     const: apm,xgene-rng
   15 
   16   clocks:
   17     maxItems: 1
   18 
   19   interrupts:
   20     maxItems: 1
   21 
   22   reg:
   23     maxItems: 1
   24 
   25 required:
   26   - compatible
   27   - clocks
   28   - interrupts
   29   - reg
   30 
   31 additionalProperties: false
   32 
   33 examples:
   34   - |
   35     #include <dt-bindings/interrupt-controller/arm-gic.h>
   36 
   37     soc {
   38         #address-cells = <2>;
   39         #size-cells = <2>;
   40 
   41         rng@10520000 {
   42             compatible = "apm,xgene-rng";
   43             reg = <0x0 0x10520000 0x0 0x100>;
   44             interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
   45             clocks = <&rngpkaclk 0>;
   46         };
   47     };
Cache object: 453820681273da1da0645f9d6decdcd0 
 
 |