Skip to content

Commit cbe75dd

Browse files
anangljfischer-no
authored andcommitted
[nrf fromlist] dts: nordic: Add DPPIC and IPCT nodes to nRF54H20 EngA
And add the corresponding bindings. Move alse the already existing bindings for nrf-dppic, nrf-ppi, and nrf-ipc so they are located together with the new ones and in more appropriate folders (DPPIC and PPI peripherals are not related to ARM, and IPC is for sending and receiving events, not messages, so ipm/ does not seem to be the best fit for it). Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit ae33b354173ab96065abe69d26c73b8ebe30aeac) Upstream PR: zephyrproject-rtos/zephyr#69811
1 parent 157e483 commit cbe75dd

11 files changed

+236
-0
lines changed
File renamed without changes.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Copyright (c) 2024 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: Nordic IPCT (Interprocessor Communication Transceiver)
5+
6+
include: base.yaml
7+
8+
properties:
9+
reg:
10+
required: true
11+
12+
channels:
13+
type: int
14+
required: true
15+
description: Number of channels implemented by the IPCT instance.
16+
17+
source-channel-links:
18+
type: array
19+
description: |
20+
Mapping of IPCT channels that are mapped between two IPCT instances on
21+
separate domains, in which a channel on this IPCT node is considered
22+
the source. This array is then comprised of a 3-integer-wide "unit"
23+
that defines one connection of the mapping. The format of this unit
24+
is <source_channel sink_domain_id sink_channel>. Units are sequential
25+
in the array, therefore requiring the length of this property to be
26+
a factor of 3.
27+
28+
For example, if channel 2 is to be mapped to Radio Core (ID: 3) IPCT
29+
channel 4, then the array "unit" would be <2 NRF_DOMAIN_ID_RADIOCORE 4>
30+
or <2 3 4>.
31+
32+
sink-channel-links:
33+
type: array
34+
description: |
35+
Mapping of IPCT channels that are mapped between two IPCT instances on
36+
separate domains, in which a channel on this IPCT node is considered
37+
the sink. This array is then comprised of a 3-integer-wide "unit"
38+
that defines one connection of the mapping. The format of this unit
39+
is <sink_channel source_domain_id source_channel>. Units are sequential
40+
in the array, therefore requiring the length of this property to be
41+
a factor of 3.
42+
43+
For example, if channel 2 is to be mapped to Radio Core (ID: 3) IPCT
44+
channel 4, then the array "unit" would be <2 NRF_DOMAIN_ID_RADIOCORE 4>
45+
or <2 3 4>.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright (c) 2024 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: Nordic Global IPCT (Interprocessor Communication Transceiver)
5+
6+
compatible: "nordic,nrf-ipct-global"
7+
8+
include: ["nordic,nrf-ipct-common.yaml", "nordic,split-channels.yaml"]
9+
10+
properties:
11+
global-domain-id:
12+
required: true
13+
type: int
14+
description: |
15+
Global IPCT instances reside on specific buses within the Global Domain,
16+
such as fast and slow, which have different IDs that do not match the
17+
standard Global Domain ID presented in their address.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright (c) 2024 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: Nordic Local IPCT (Interprocessor Communication Transceiver)
5+
6+
compatible: "nordic,nrf-ipct-local"
7+
8+
include: "nordic,nrf-ipct-common.yaml"
9+
10+
properties:
11+
interrupts:
12+
required: true
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright (c) 2024 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: |
5+
Nordic Global DPPIC
6+
(Distributed Programmable Peripheral Interconnect Controller)
7+
8+
Updated DPPIC binding set for Nordic products that have global DPPIC instances
9+
with inter-bridge functionality. These instances also have split-ownership
10+
of its channels and channel groups.
11+
12+
compatible: "nordic,nrf-dppic-global"
13+
14+
include:
15+
- "nordic,nrf-dppic.yaml"
16+
- "nordic,nrf-dppic-links.yaml"
17+
- "nordic,split-channels.yaml"
18+
- "nordic,split-channel-groups.yaml"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright (c) 2024 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: Nordic DPPIC Channel Linking
5+
6+
properties:
7+
source-channels:
8+
type: array
9+
description: |
10+
Channels that are linked to channels of DPPIC instances on separate
11+
bridges as publishing sources.
12+
13+
sink-channels:
14+
type: array
15+
description: |
16+
Channels that are linked to channels of DPPIC instances on separate
17+
bridges as subscribing sinks.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (c) 2024 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
3+
4+
description: |
5+
Nordic Local DPPIC
6+
(Distributed Programmable Peripheral Interconnect Controller)
7+
8+
Updated DPPIC binding set for Nordic products that have local DPPIC instances
9+
with inter-bridge functionality.
10+
11+
compatible: "nordic,nrf-dppic-local"
12+
13+
include: ["nordic,nrf-dppic.yaml", "nordic,nrf-dppic-links.yaml"]
File renamed without changes.
File renamed without changes.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright (c) 2024 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: Nordic Split Channel Groups
5+
6+
properties:
7+
owned-channel-groups:
8+
type: array
9+
description: |
10+
List of channel groups of a split-ownership peripheral that are to be
11+
owned for use by the compiled domain.
12+
13+
nonsecure-channel-groups:
14+
type: array
15+
description: |
16+
List of channel groups in a split-ownership, split-security peripheral
17+
that are to be configured as nonsecure. In Trustzone systems, this
18+
property is only evaluated for secure peripherals, as nonsecure channels
19+
are implicitly specified through the owned-channels property. This
20+
property is ignored in non-Trustzone systems.

0 commit comments

Comments
 (0)