Skip to content

Commit 3a6547b

Browse files
committed
[nrf noup] boards: nordic: Enable PSA RNG for nrf54h20
Noup since secdom is not available upstream and it is required for PSA RNG. This enables the PSA RNG as the default Zephyr entropy provider for the nrf54h20dk cpuapp and cpurad targets. Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent cf61df8 commit 3a6547b

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
zephyr,bt-hci = &bt_hci_ipc0;
2828
nordic,802154-spinel-ipc = &ipc0;
2929
zephyr,canbus = &can120;
30-
zephyr,entropy = &prng;
30+
zephyr,entropy = &psa_rng;
3131
};
3232

3333
aliases {
@@ -109,8 +109,8 @@
109109
};
110110
};
111111

112-
prng: prng {
113-
compatible = "nordic,entropy-prng";
112+
psa_rng: psa-rng {
113+
compatible = "zephyr,psa-crypto-rng";
114114
status = "okay";
115115
};
116116
};

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpurad.dts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,17 @@
2727
zephyr,ieee802154 = &cpurad_ieee802154;
2828
zephyr,bt-hci-ipc = &ipc0;
2929
nordic,802154-spinel-ipc = &ipc0;
30-
zephyr,entropy = &prng;
31-
};
32-
prng: prng {
33-
compatible = "nordic,entropy-prng";
34-
status = "okay";
30+
zephyr,entropy = &psa_rng;
3531
};
3632
aliases {
3733
ipc-to-cpusys = &cpurad_cpusys_ipc;
3834
resetinfo = &cpurad_resetinfo;
3935
};
36+
37+
psa_rng: psa-rng {
38+
compatible = "zephyr,psa-crypto-rng";
39+
status = "okay";
40+
};
4041
};
4142

4243
&cpuapp_cpurad_ram0x_region {

0 commit comments

Comments
 (0)