Skip to content

Commit d482852

Browse files
committed
boards: nordic: nrf54h20dk: Remove etr_buffer
Move the etr_buffer definition into an overlay so the region is unallocated by default. Signed-off-by: Karsten Koenig <[email protected]>
1 parent fa4654c commit d482852

File tree

4 files changed

+37
-19
lines changed

4 files changed

+37
-19
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20-memory_map.dtsi

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,6 @@
4747
};
4848
};
4949

50-
etr_buf_ram0x_region: memory@2f0be000 {
51-
compatible = "nordic,owned-memory";
52-
reg = <0x2f0be000 DT_SIZE_K(4)>;
53-
status = "disabled";
54-
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RWS>;
55-
#address-cells = <1>;
56-
#size-cells = <1>;
57-
ranges = <0x0 0x2f0be000 0x1000>;
58-
59-
/* TODO In future move this region to cpuapp_ram0x_region. */
60-
etr_buffer: memory@0 {
61-
reg = <0x0 DT_SIZE_K(4)>;
62-
};
63-
};
64-
6550
cpuapp_cpurad_ram0x_region: memory@2f0bf000 {
6651
compatible = "nordic,owned-memory";
6752
reg = <0x2f0bf000 DT_SIZE_K(4)>;

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,6 @@
119119
status = "okay";
120120
};
121121

122-
&etr_buf_ram0x_region {
123-
status = "okay";
124-
};
125-
126122
&ram21_region {
127123
status = "okay";
128124
};

snippets/nordic-log-stm-dict/boards/nrf54h20_cpuapp.overlay

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6+
/ {
7+
reserved-memory {
8+
etr_buf_ram0x_region: memory@2f0be000 {
9+
compatible = "nordic,owned-memory";
10+
reg = <0x2f0be000 DT_SIZE_K(4)>;
11+
status = "okay";
12+
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RWS>;
13+
#address-cells = <1>;
14+
#size-cells = <1>;
15+
ranges = <0x0 0x2f0be000 0x1000>;
16+
17+
etr_buffer: memory@0 {
18+
reg = <0x0 DT_SIZE_K(4)>;
19+
};
20+
};
21+
};
22+
};
23+
624
&tbm {
725
status = "okay";
826
};

snippets/nordic-log-stm/boards/nrf54h20_cpuapp.overlay

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6+
/ {
7+
reserved-memory {
8+
etr_buf_ram0x_region: memory@2f0be000 {
9+
compatible = "nordic,owned-memory";
10+
reg = <0x2f0be000 DT_SIZE_K(4)>;
11+
status = "okay";
12+
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RWS>;
13+
#address-cells = <1>;
14+
#size-cells = <1>;
15+
ranges = <0x0 0x2f0be000 0x1000>;
16+
17+
etr_buffer: memory@0 {
18+
reg = <0x0 DT_SIZE_K(4)>;
19+
};
20+
};
21+
};
22+
};
23+
24+
625
&tbm {
726
status = "okay";
827
};

0 commit comments

Comments
 (0)