Add snapshot of device tree bindings from keystone common kernel, branch "android-mainline-keystone-qcom-release" at c4c12103f9c0 ("Snap for 9228065 from e32903b9a63bb558df8b803b076619c53c16baad to android-mainline-keystone-qcom-release"). Change-Id: I7682079615cbd9f29340a5c1f2a1d84ec441a1f1 Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/rng/timeriomem_rng.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: TimerIO Random Number Generator
|
|
|
|
maintainers:
|
|
- Krzysztof Kozlowski <krzk@kernel.org>
|
|
|
|
properties:
|
|
compatible:
|
|
const: timeriomem_rng
|
|
|
|
period:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: wait time in microseconds to use between samples
|
|
|
|
quality:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
default: 0
|
|
description:
|
|
Estimated number of bits of true entropy per 1024 bits read from the rng.
|
|
Defaults to zero which causes the kernel's default quality to be used
|
|
instead. Note that the default quality is usually zero which disables
|
|
using this rng to automatically fill the kernel's entropy pool.
|
|
|
|
reg:
|
|
maxItems: 1
|
|
description:
|
|
Base address to sample from. Currently 'reg' must be at least four bytes
|
|
wide and 32-bit aligned.
|
|
|
|
required:
|
|
- compatible
|
|
- period
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
rng@44 {
|
|
compatible = "timeriomem_rng";
|
|
reg = <0x44 0x04>;
|
|
period = <1000000>;
|
|
};
|