File tree Expand file tree Collapse file tree 5 files changed +37
-0
lines changed Expand file tree Collapse file tree 5 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright (c) 2024 Nordic Semiconductor ASA
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ description : Nordic TBM (Trace Buffer Monitor)
5+
6+ compatible : " nordic,nrf-tbm"
7+
8+ include : base.yaml
9+
10+ properties :
11+ reg :
12+ required : true
13+
14+ interrupts :
15+ required : true
Original file line number Diff line number Diff line change 355355 };
356356 };
357357
358+ tdd_peripherals: peripheral@bf000000 {
359+ #address-cells = <1>;
360+ #size-cells = <1>;
361+ ranges = <0x0 0xbf000000 0x1000000>;
362+
363+ tbm: tbm@3000 {
364+ compatible = "nordic,nrf-tbm";
365+ reg = <0x3000 0x408>;
366+ status = "disabled";
367+ interrupts = <127 NRF_DEFAULT_IRQ_PRIORITY>;
368+ };
369+ };
370+
358371 global_peripherals: peripheral@5f000000 {
359372 #address-cells = <1>;
360373 #size-cells = <1>;
Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ zephyr_library_sources_ifdef(CONFIG_NRFX_SPI ${SRC_DIR}/nrfx_spi.c)
117117zephyr_library_sources_ifdef(CONFIG_NRFX_SPIM ${SRC_DIR} /nrfx_spim.c)
118118zephyr_library_sources_ifdef(CONFIG_NRFX_SPIS ${SRC_DIR} /nrfx_spis.c)
119119zephyr_library_sources_ifdef(CONFIG_NRFX_SYSTICK ${SRC_DIR} /nrfx_systick.c)
120+ zephyr_library_sources_ifdef(CONFIG_NRFX_TBM ${SRC_DIR} /nrfx_tbm.c)
120121zephyr_library_sources_ifdef(CONFIG_NRFX_TEMP ${SRC_DIR} /nrfx_temp.c)
121122zephyr_library_sources_ifdef(CONFIG_NRFX_TIMER ${SRC_DIR} /nrfx_timer.c)
122123zephyr_library_sources_ifdef(CONFIG_NRFX_TWI ${SRC_DIR} /nrfx_twi.c)
Original file line number Diff line number Diff line change @@ -523,6 +523,10 @@ config NRFX_SYSTICK
523523 bool "SYSTICK driver"
524524 depends on CPU_CORTEX_M_HAS_SYSTICK
525525
526+ config NRFX_TBM
527+ bool "TBM driver"
528+ depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_TBM))
529+
526530config NRFX_TEMP
527531 bool "TEMP driver"
528532 depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_TEMP))
Original file line number Diff line number Diff line change 505505#define NRFX_SYSTICK_CONFIG_LOG_ENABLED 1
506506#endif
507507
508+ #ifdef CONFIG_NRFX_TBM
509+ #define NRFX_TBM_ENABLED 1
510+ #endif
511+
508512#ifdef CONFIG_NRFX_TEMP
509513#define NRFX_TEMP_ENABLED 1
510514#endif
You can’t perform that action at this time.
0 commit comments