48 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---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 Generator8 9maintainers:10 - Khuong Dinh <khuong@os.amperecomputing.com>11 12properties:13 compatible:14 const: apm,xgene-rng15 16 clocks:17 maxItems: 118 19 interrupts:20 maxItems: 121 22 reg:23 maxItems: 124 25required:26 - compatible27 - clocks28 - interrupts29 - reg30 31additionalProperties: false32 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 };48