[PATCH 05/16] dt-bindings: bus: eip150: Describe the EIP-150 container node

Miquel Raynal (Schneider Electric) posted 16 patches 5 days, 18 hours ago
[PATCH 05/16] dt-bindings: bus: eip150: Describe the EIP-150 container node
Posted by Miquel Raynal (Schneider Electric) 5 days, 18 hours ago
Part of Inside-Secure's SafeXcel family, the EIP-150 is some kind of
container node composed of:
- a public key accelerator,
- random number generator,
- an interrupt controller.

It also acts as proxy for the clocks.

Signed-off-by: Miquel Raynal (Schneider Electric) <miquel.raynal@bootlin.com>
---
 .../bus/inside-secure,safexcel-eip150.yaml         | 58 ++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/Documentation/devicetree/bindings/bus/inside-secure,safexcel-eip150.yaml b/Documentation/devicetree/bindings/bus/inside-secure,safexcel-eip150.yaml
new file mode 100644
index 000000000000..1b3d83a852f5
--- /dev/null
+++ b/Documentation/devicetree/bindings/bus/inside-secure,safexcel-eip150.yaml
@@ -0,0 +1,58 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/bus/inside-secure,safexcel-eip150.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Inside-Secure SafeXcel EIP-150 container
+
+maintainers:
+  - Miquel Raynal <miquel.raynal@bootlin.com>
+
+description:
+  The EIP-150 is a hardware container, it has its own interrupt
+  controller inside to which a random number generator and a public key
+  accelerator are wired.
+
+allOf:
+  - $ref: simple-pm-bus.yaml#
+  - $ref: /schemas/clock/clock-nexus-node.yaml#
+
+properties:
+  compatible:
+    items:
+      - const: inside-secure,safexcel-eip150
+      - {} # simple-pm-bus, but not listed here to avoid false select
+
+  clocks:
+    minItems: 1
+
+  "#address-cells":
+    const: 1
+
+  "#size-cells":
+    const: 1
+
+  ranges: true
+
+patternProperties:
+  "^interrupt-controller@[0-9a-f]+$":
+    type: object
+    $ref: /schemas/interrupt-controller/inside-secure,safexcel-eip201.yaml#
+
+  "^rng@[0-9a-f]+$":
+    type: object
+    $ref: /schemas/rng/inside-secure,safexcel-eip76.yaml#
+
+  "^crypto@[0-9a-f]+$":
+    type: object
+    $ref: /schemas/crypto/inside-secure,safexcel-eip28.yaml#
+
+required:
+  - compatible
+  - clocks
+  - "#address-cells"
+  - "#size-cells"
+  - ranges
+
+unevaluatedProperties: false

-- 
2.51.1