1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/rng/inside-secure,safexcel-eip76.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Inside-Secure HWRNG Module 8 9maintainers: 10 - Jayesh Choudhary <j-choudhary@ti.com> 11 12properties: 13 compatible: 14 oneOf: 15 - enum: 16 - ti,omap2-rng 17 - ti,omap4-rng 18 - inside-secure,safexcel-eip76 19 - items: 20 - enum: 21 - marvell,armada-8k-rng 22 - const: inside-secure,safexcel-eip76 23 24 ti,hwmods: 25 const: rng 26 deprecated: true 27 description: Name of the hwmod associated with the RNG module 28 29 reg: 30 maxItems: 1 31 32 interrupts: 33 maxItems: 1 34 35 clocks: 36 minItems: 1 37 items: 38 - description: EIP150 gateable clock 39 - description: Main gateable clock 40 41 clock-names: 42 minItems: 1 43 items: 44 - const: core 45 - const: reg 46 47 48allOf: 49 - if: 50 properties: 51 compatible: 52 contains: 53 enum: 54 - ti,omap4-rng 55 - inside-secure,safexcel-eip76 56 57 then: 58 required: 59 - interrupts 60 61 62required: 63 - compatible 64 - reg 65 66additionalProperties: false 67 68examples: 69 - | 70 /* AM335x */ 71 rng: rng@48310000 { 72 compatible = "ti,omap4-rng"; 73 ti,hwmods = "rng"; 74 reg = <0x48310000 0x2000>; 75 interrupts = <111>; 76 }; 77 - | 78 /* SafeXcel IP-76 */ 79 trng: rng@f2760000 { 80 compatible = "inside-secure,safexcel-eip76"; 81 reg = <0xf2760000 0x7d>; 82 interrupts = <0 59 4>; 83 clocks = <&cpm_syscon0 1 25>; 84 }; 85 86... 87