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