1*6be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*6be33864SEmmanuel Vadot%YAML 1.2 3*6be33864SEmmanuel Vadot--- 4*6be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/rng/imx-rng.yaml# 5*6be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*6be33864SEmmanuel Vadot 7*6be33864SEmmanuel Vadottitle: Freescale RNGA/RNGB/RNGC (Random Number Generator Versions A, B and C) 8*6be33864SEmmanuel Vadot 9*6be33864SEmmanuel Vadotmaintainers: 10*6be33864SEmmanuel Vadot - Vladimir Zapolskiy <vz@mleia.com> 11*6be33864SEmmanuel Vadot 12*6be33864SEmmanuel Vadotproperties: 13*6be33864SEmmanuel Vadot compatible: 14*6be33864SEmmanuel Vadot oneOf: 15*6be33864SEmmanuel Vadot - const: fsl,imx21-rnga 16*6be33864SEmmanuel Vadot - const: fsl,imx25-rngb 17*6be33864SEmmanuel Vadot - items: 18*6be33864SEmmanuel Vadot - const: fsl,imx31-rnga 19*6be33864SEmmanuel Vadot - const: fsl,imx21-rnga 20*6be33864SEmmanuel Vadot - items: 21*6be33864SEmmanuel Vadot - enum: 22*6be33864SEmmanuel Vadot - fsl,imx6sl-rngb 23*6be33864SEmmanuel Vadot - fsl,imx6sll-rngb 24*6be33864SEmmanuel Vadot - fsl,imx6ull-rngb 25*6be33864SEmmanuel Vadot - const: fsl,imx25-rngb 26*6be33864SEmmanuel Vadot - const: fsl,imx35-rngc 27*6be33864SEmmanuel Vadot 28*6be33864SEmmanuel Vadot reg: 29*6be33864SEmmanuel Vadot maxItems: 1 30*6be33864SEmmanuel Vadot 31*6be33864SEmmanuel Vadot interrupts: 32*6be33864SEmmanuel Vadot maxItems: 1 33*6be33864SEmmanuel Vadot 34*6be33864SEmmanuel Vadot clocks: 35*6be33864SEmmanuel Vadot maxItems: 1 36*6be33864SEmmanuel Vadot 37*6be33864SEmmanuel Vadotrequired: 38*6be33864SEmmanuel Vadot - compatible 39*6be33864SEmmanuel Vadot - reg 40*6be33864SEmmanuel Vadot - interrupts 41*6be33864SEmmanuel Vadot - clocks 42*6be33864SEmmanuel Vadot 43*6be33864SEmmanuel VadotadditionalProperties: false 44*6be33864SEmmanuel Vadot 45*6be33864SEmmanuel Vadotexamples: 46*6be33864SEmmanuel Vadot - | 47*6be33864SEmmanuel Vadot rngb@53fb0000 { 48*6be33864SEmmanuel Vadot compatible = "fsl,imx25-rngb"; 49*6be33864SEmmanuel Vadot reg = <0x53fb0000 0x4000>; 50*6be33864SEmmanuel Vadot clocks = <&clks 109>; 51*6be33864SEmmanuel Vadot interrupts = <22>; 52*6be33864SEmmanuel Vadot }; 53