[PATCH RFC v2 04/10] dt-bindings: firmware: add RISC-V RPMI TEE transport
From: Amirreza Zarrabi
Date: Wed Oct 07 2026 - 23:33:59 EST
Add a binding for the RPMI TEE service group carried over an SBI MPXY
mailbox channel. The transport uses this channel to discover TEE
endpoints and their services.
Require a single mailbox reference. Notification interrupt information
is obtained from firmware through TEE_PROBE_FEATURES rather than an
interrupt property in the TEE transport node.
Signed-off-by: Amirreza Zarrabi <amirreza.zarrabi@xxxxxxxxxxxxxxxx>
---
.../bindings/firmware/riscv,rpmi-tee.yaml | 35 ++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/Documentation/devicetree/bindings/firmware/riscv,rpmi-tee.yaml b/Documentation/devicetree/bindings/firmware/riscv,rpmi-tee.yaml
new file mode 100644
index 000000000000..b7bbe8893e56
--- /dev/null
+++ b/Documentation/devicetree/bindings/firmware/riscv,rpmi-tee.yaml
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/firmware/riscv,rpmi-tee.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: RISC-V RPMI TEE service group transport
+
+maintainers:
+ - Amirreza Zarrabi <amirreza.zarrabi@xxxxxxxxxxxxxxxx>
+
+description: |
+ The RISC-V Platform Management Interface TEE service group is carried over
+ an SBI MPXY RPMI mailbox channel. The transport discovers TEE services and
+ creates child devices for their endpoint and UUID pairs.
+
+properties:
+ compatible:
+ const: riscv,rpmi-tee
+
+ mboxes:
+ maxItems: 1
+
+required:
+ - compatible
+ - mboxes
+
+additionalProperties: false
+
+examples:
+ - |
+ rpmi-tee {
+ compatible = "riscv,rpmi-tee";
+ mboxes = <&mpxy_mbox 0x3000 0x0>;
+ };
--
2.34.1