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