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:
parent
8fec5f361c
commit
d84e806c34
3 changed files with 79 additions and 0 deletions
18
dts/bindings/mbox/nordic,nrf-vevif-common.yaml
Normal file
18
dts/bindings/mbox/nordic,nrf-vevif-common.yaml
Normal 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
|
32
dts/bindings/mbox/nordic,nrf-vevif-local.yaml
Normal file
32
dts/bindings/mbox/nordic,nrf-vevif-local.yaml
Normal 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
|
29
dts/bindings/mbox/nordic,nrf-vevif-remote.yaml
Normal file
29
dts/bindings/mbox/nordic,nrf-vevif-remote.yaml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue