dts: bindings: mbox: add nordic,nrf-vevif-local|remote

Add a new binding for Nordic VEVIF (VPR Event Interface) (local and
remote modes).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-02-21 16:12:50 +01:00 committed by Fabio Baltieri
commit d84e806c34
3 changed files with 79 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
include: mailbox-controller.yaml
properties:
nordic,tasks:
type: int
required: true
description: Number of tasks supported by the VEVIF instance.
nordic,tasks-mask:
type: int
required: true
description: Mask of tasks supported by the VEVIF instance.
mbox-cells:
- channel

View file

@ -0,0 +1,32 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
description: |
Nordic VEVIF (VPR Event Interface) - Local
VEVIF is an event interface for VPR, allowing connection to the domain's DPPI
system. VEVIF can also generate IRQs to other CPUs.
Example definition:
cpuppr: cpu@d {
...
cpuppr_vevif_local: mailbox {
compatible = "nordic,nrf-vevif-local";
interrupts = <0 NRF_DEFAULT_IRQ_PRIORITY>,
<1 NRF_DEFAULT_IRQ_PRIORITY>,
...
<N NRF_DEFAULT_IRQ_PRIORITY>;
#mbox-cells = <1>;
nordic,tasks = <16>;
nordic,tasks-mask: <0xfffffff0>;
};
};
compatible: "nordic,nrf-vevif-local"
include: [base.yaml, "nordic,nrf-vevif-common.yaml"]
properties:
interrupts:
required: true

View file

@ -0,0 +1,29 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
description: |
Nordic VEVIF (VPR Event Interface) - Remote
VEVIF is an event interface for VPR, allowing connection to the domain's DPPI
system. VEVIF can also generate IRQs to other CPUs.
Example definition:
cpuppr_vpr: vpr@deadbeef{
...
cpuppr_vevif_remote: mailbox@0 {
compatible = "nordic,nrf-vevif-remote";
reg = <0x0 0x1000>;
#mbox-cells = <1>;
nordic,tasks = <16>;
nordic,tasks-mask: <0xfffffff0>;
};
};
compatible: "nordic,nrf-vevif-remote"
include: [base.yaml, "nordic,nrf-vevif-common.yaml"]
properties:
reg:
required: true