Skip to content

Commit a8a71a9

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 49a8a79 commit a8a71a9

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
@@ -26,7 +26,7 @@
2626
zephyr,bt-hci = &bt_hci_ipc0;
2727
nordic,802154-spinel-ipc = &ipc0;
2828
zephyr,canbus = &can120;
29-
zephyr,entropy = &prng;
29+
zephyr,entropy = &psa_rng;
3030
};
3131

3232
aliases {
@@ -108,8 +108,8 @@
108108
};
109109
};
110110

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

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)