dts: bindings: arm: nordic: Add TDDCONF sources

For nrf54h20 a range of combinations exist to configure the test and
debug domains data sources and sinks. Expose them in DTS to allow
configuring them. Also drop the previous style which was too rigid to
extend to cover all cases cleanly. The old style was only used in a
single sample application so far.

Signed-off-by: Karsten Koenig <karsten.koenig@nordicsemi.no>
This commit is contained in:
Karsten Koenig 2024-09-19 12:28:17 +02:00 committed by Fabio Baltieri
commit 43f9488045
9 changed files with 62 additions and 9 deletions

View file

@ -9,6 +9,7 @@
&tddconf {
status = "okay";
stmsink = "etr";
etrsources = <(NRF_TDDCONF_SOURCE_STMMAINCORE | NRF_TDDCONF_SOURCE_STMPPR |
NRF_TDDCONF_SOURCE_STMFLPR)>;
portconfig = <0>;
};

View file

@ -0,0 +1,9 @@
/*
* Copyright (c) 2024 Nordic Semiconductor
* SPDX-License-Identifier: Apache-2.0
*/
&tddconf {
status = "okay";
etrsources = <(NRF_TDDCONF_SOURCE_STMMAINCORE)>;
};

View file

@ -6,3 +6,6 @@ boards:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf54h20_cpuapp.overlay
EXTRA_CONF_FILE: boards/nrf54h20_cpuapp.conf
/.*/nrf54h20/cpurad/:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf54h20_cpurad.overlay

View file

@ -9,6 +9,7 @@
&tddconf {
status = "okay";
stmsink = "etr";
etrsources = <(NRF_TDDCONF_SOURCE_STMMAINCORE | NRF_TDDCONF_SOURCE_STMPPR |
NRF_TDDCONF_SOURCE_STMFLPR)>;
portconfig = <0>;
};

View file

@ -0,0 +1,9 @@
/*
* Copyright (c) 2024 Nordic Semiconductor
* SPDX-License-Identifier: Apache-2.0
*/
&tddconf {
status = "okay";
etrsources = <(NRF_TDDCONF_SOURCE_STMMAINCORE)>;
};

View file

@ -6,3 +6,6 @@ boards:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf54h20_cpuapp.overlay
EXTRA_CONF_FILE: boards/nrf54h20_cpuapp.conf
/.*/nrf54h20/cpurad/:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf54h20_cpurad.overlay