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:
parent
d14fe911d9
commit
43f9488045
9 changed files with 62 additions and 9 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
&tddconf {
|
||||
status = "okay";
|
||||
stmsink = "etr";
|
||||
etrsources = <(NRF_TDDCONF_SOURCE_STMMAINCORE | NRF_TDDCONF_SOURCE_STMPPR |
|
||||
NRF_TDDCONF_SOURCE_STMFLPR)>;
|
||||
portconfig = <0>;
|
||||
};
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Nordic Semiconductor
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&tddconf {
|
||||
status = "okay";
|
||||
etrsources = <(NRF_TDDCONF_SOURCE_STMMAINCORE)>;
|
||||
};
|
|
@ -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
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
&tddconf {
|
||||
status = "okay";
|
||||
stmsink = "etr";
|
||||
etrsources = <(NRF_TDDCONF_SOURCE_STMMAINCORE | NRF_TDDCONF_SOURCE_STMPPR |
|
||||
NRF_TDDCONF_SOURCE_STMFLPR)>;
|
||||
portconfig = <0>;
|
||||
};
|
||||
|
|
9
snippets/nordic-log-stm/boards/nrf54h20_cpurad.overlay
Normal file
9
snippets/nordic-log-stm/boards/nrf54h20_cpurad.overlay
Normal file
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Nordic Semiconductor
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&tddconf {
|
||||
status = "okay";
|
||||
etrsources = <(NRF_TDDCONF_SOURCE_STMMAINCORE)>;
|
||||
};
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue