apm,x-gene-rng.yaml (886B)
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 7title: APM X-Gene SoC Random Number Generator 8 9maintainers: 10 - Khuong Dinh <khuong@os.amperecomputing.com> 11 12properties: 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 25required: 26 - compatible 27 - clocks 28 - interrupts 29 - reg 30 31additionalProperties: false 32 33examples: 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 };