1*e67e8565SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only 2*e67e8565SEmmanuel Vadot%YAML 1.2 3*e67e8565SEmmanuel Vadot--- 4*e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/rng/timeriomem_rng.yaml# 5*e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*e67e8565SEmmanuel Vadot 7*e67e8565SEmmanuel Vadottitle: TimerIO Random Number Generator 8*e67e8565SEmmanuel Vadot 9*e67e8565SEmmanuel Vadotmaintainers: 10*e67e8565SEmmanuel Vadot - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> 11*e67e8565SEmmanuel Vadot 12*e67e8565SEmmanuel Vadotproperties: 13*e67e8565SEmmanuel Vadot compatible: 14*e67e8565SEmmanuel Vadot const: timeriomem_rng 15*e67e8565SEmmanuel Vadot 16*e67e8565SEmmanuel Vadot period: 17*e67e8565SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 18*e67e8565SEmmanuel Vadot description: wait time in microseconds to use between samples 19*e67e8565SEmmanuel Vadot 20*e67e8565SEmmanuel Vadot quality: 21*e67e8565SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 22*e67e8565SEmmanuel Vadot default: 0 23*e67e8565SEmmanuel Vadot description: 24*e67e8565SEmmanuel Vadot Estimated number of bits of true entropy per 1024 bits read from the rng. 25*e67e8565SEmmanuel Vadot Defaults to zero which causes the kernel's default quality to be used 26*e67e8565SEmmanuel Vadot instead. Note that the default quality is usually zero which disables 27*e67e8565SEmmanuel Vadot using this rng to automatically fill the kernel's entropy pool. 28*e67e8565SEmmanuel Vadot 29*e67e8565SEmmanuel Vadot reg: 30*e67e8565SEmmanuel Vadot maxItems: 1 31*e67e8565SEmmanuel Vadot description: 32*e67e8565SEmmanuel Vadot Base address to sample from. Currently 'reg' must be at least four bytes 33*e67e8565SEmmanuel Vadot wide and 32-bit aligned. 34*e67e8565SEmmanuel Vadot 35*e67e8565SEmmanuel Vadotrequired: 36*e67e8565SEmmanuel Vadot - compatible 37*e67e8565SEmmanuel Vadot - period 38*e67e8565SEmmanuel Vadot - reg 39*e67e8565SEmmanuel Vadot 40*e67e8565SEmmanuel VadotadditionalProperties: false 41*e67e8565SEmmanuel Vadot 42*e67e8565SEmmanuel Vadotexamples: 43*e67e8565SEmmanuel Vadot - | 44*e67e8565SEmmanuel Vadot rng@44 { 45*e67e8565SEmmanuel Vadot compatible = "timeriomem_rng"; 46*e67e8565SEmmanuel Vadot reg = <0x44 0x04>; 47*e67e8565SEmmanuel Vadot period = <1000000>; 48*e67e8565SEmmanuel Vadot }; 49