Andrew Davis d7e8c41016 dt-bindings: rng: omap_rng: Drop requirement for clocks
For K3 devices the clock fed into the RNG module is shared with the rest
of the Crypto module, it is not dedicated to the RNG module and cannot be
controlled by the RNG driver. The driver does not require this clock to
always be defined and the DT binding should not force it either.

Remove this so we can start dropping out the clock properties as needed.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20220901171041.32056-1-afd@ti.com
Signed-off-by: Rob Herring <robh@kernel.org>
2022-09-07 15:42:25 -05:00

82 lines
1.5 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/rng/omap_rng.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: OMAP SoC and Inside-Secure HWRNG Module
maintainers:
- Jayesh Choudhary <j-choudhary@ti.com>
properties:
compatible:
enum:
- ti,omap2-rng
- ti,omap4-rng
- 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 gatable clock
- description: Main gatable 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>;
};
...