Skip to content

Commit 412fe6d

Browse files
jonathannilsenrlubos
authored andcommitted
[nrf fromtree] dts: nordic: update UICR definition on nrf54h20
With IronSide SE there is only one defined UICR which is at the location of the APPLICATION UICR. Update the devicetree definition accordingly, and use the "nordic,nrf-uicr" compatible on the node since the domain distinction added by the v2 compatible is no longer relevant. Signed-off-by: Jonathan Nilsen <[email protected]> (cherry picked from commit b43ae17)
1 parent dae413b commit 412fe6d

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

dts/vendor/nordic/nrf54h20.dtsi

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -226,26 +226,19 @@
226226
write-block-size = <16>;
227227
};
228228

229-
cpuapp_uicr: uicr@fff8000 {
230-
compatible = "nordic,nrf-uicr-v2";
229+
uicr: uicr@fff8000 {
230+
compatible = "nordic,nrf-uicr";
231231
reg = <0xfff8000 DT_SIZE_K(2)>;
232232
#address-cells = <1>;
233233
#size-cells = <1>;
234234
ranges = <0x0 0xfff8000 DT_SIZE_K(2)>;
235-
domain = <2>;
236235

237236
bicr: bicr@7b0 {
238237
compatible = "nordic,nrf-bicr";
239238
reg = <0x7b0 48>;
240239
};
241240
};
242241

243-
cpurad_uicr: uicr@fffa000 {
244-
compatible = "nordic,nrf-uicr-v2";
245-
reg = <0xfffa000 DT_SIZE_K(2)>;
246-
domain = <3>;
247-
};
248-
249242
ficr: ficr@fffe000 {
250243
compatible = "nordic,nrf-ficr";
251244
reg = <0xfffe000 DT_SIZE_K(2)>;

soc/nordic/validate_base_addresses.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,11 @@ CHECK_DT_REG(uart134, NRF_UARTE134);
335335
CHECK_DT_REG(uart135, NRF_UARTE135);
336336
CHECK_DT_REG(uart136, NRF_UARTE136);
337337
CHECK_DT_REG(uart137, NRF_UARTE137);
338+
#if !defined(CONFIG_SOC_SERIES_NRF54HX)
338339
CHECK_DT_REG(uicr, NRF_UICR);
340+
#else
341+
CHECK_DT_REG(uicr, NRF_APPLICATION_UICR);
342+
#endif
339343
CHECK_DT_REG(cpuapp_uicr, NRF_APPLICATION_UICR);
340344
CHECK_DT_REG(bicr, NRF_APPLICATION_BICR);
341345
CHECK_DT_REG(cpurad_uicr, NRF_RADIOCORE_UICR);

0 commit comments

Comments
 (0)