Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
85 lines
1.6 KiB
YAML
85 lines
1.6 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/rng/inside-secure,safexcel-eip76.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Inside-Secure HWRNG Module
|
|
|
|
maintainers:
|
|
- Jayesh Choudhary <j-choudhary@ti.com>
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- enum:
|
|
- ti,omap2-rng
|
|
- ti,omap4-rng
|
|
- inside-secure,safexcel-eip76
|
|
- items:
|
|
- enum:
|
|
- marvell,armada-8k-rng
|
|
- const: inside-secure,safexcel-eip76
|
|
|
|
ti,hwmods:
|
|
const: rng
|
|
deprecated: true
|
|
description: Name of the hwmod associated with the RNG module
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
minItems: 1
|
|
items:
|
|
- description: EIP150 gateable clock
|
|
- description: Main gateable clock
|
|
|
|
clock-names:
|
|
minItems: 1
|
|
items:
|
|
- const: core
|
|
- const: reg
|
|
|
|
allOf:
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
enum:
|
|
- ti,omap4-rng
|
|
- inside-secure,safexcel-eip76
|
|
|
|
then:
|
|
required:
|
|
- interrupts
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
/* AM335x */
|
|
rng: rng@48310000 {
|
|
compatible = "ti,omap4-rng";
|
|
ti,hwmods = "rng";
|
|
reg = <0x48310000 0x2000>;
|
|
interrupts = <111>;
|
|
};
|
|
- |
|
|
/* SafeXcel IP-76 */
|
|
trng: rng@f2760000 {
|
|
compatible = "inside-secure,safexcel-eip76";
|
|
reg = <0xf2760000 0x7d>;
|
|
interrupts = <0 59 4>;
|
|
clocks = <&cpm_syscon0 1 25>;
|
|
};
|
|
|
|
...
|