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