[PATCH 1/3] dt-bindings: rng: Add Cortina Systems CS7542 TRNG

From: Fil Dunsky via B4 Relay

Date: Mon Nov 23 2026 - 13:42:01 EST


From: Fil Dunsky <filipp.dunsky@xxxxxxxxx>

Describe the Elliptic TRNG register block and its reference to the
shared global control syscon.

Signed-off-by: Fil Dunsky <filipp.dunsky@xxxxxxxxx>
---
.../bindings/rng/cortina,cs7542-trng.yaml | 38 ++++++++++++++++++++++
1 file changed, 38 insertions(+)

diff --git a/Documentation/devicetree/bindings/rng/cortina,cs7542-trng.yaml b/Documentation/devicetree/bindings/rng/cortina,cs7542-trng.yaml
new file mode 100644
index 000000000..9118397d6
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/cortina,cs7542-trng.yaml
@@ -0,0 +1,38 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rng/cortina,cs7542-trng.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Cortina Systems CS7542 true random number generator
+
+maintainers:
+ - Fil Dunsky <filipp.dunsky@xxxxxxxxx>
+
+properties:
+ compatible:
+ const: cortina,cs7542-trng
+
+ reg:
+ maxItems: 1
+
+ cortina,syscon:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description:
+ Global control syscon containing the scratch register at offset 0xc0.
+ Bit 5 is set before initializing the random number generator.
+
+required:
+ - compatible
+ - reg
+ - cortina,syscon
+
+additionalProperties: false
+
+examples:
+ - |
+ rng@f0600000 {
+ compatible = "cortina,cs7542-trng";
+ reg = <0xf0600000 0x20>;
+ cortina,syscon = <&global_control>;
+ };

--
2.53.0