Skip to content

Commit ae916a8

Browse files
committed
[nrf noup] boards: nordic: Enable PSA RNG for nrf54h20
Noup since Ironside 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 34f1aa3 commit ae916a8

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

Lines changed: 6 additions & 1 deletion
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 {
@@ -113,6 +113,11 @@
113113

114114
prng: prng {
115115
compatible = "nordic,entropy-prng";
116+
status = "disabled";
117+
};
118+
119+
psa_rng: psa-rng {
120+
compatible = "zephyr,psa-crypto-rng";
116121
status = "okay";
117122
};
118123
};

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpurad.dts

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,23 @@
2828
zephyr,ieee802154 = &cpurad_ieee802154;
2929
zephyr,bt-hci-ipc = &ipc0;
3030
nordic,802154-spinel-ipc = &ipc0;
31-
zephyr,entropy = &prng;
32-
};
33-
prng: prng {
34-
compatible = "nordic,entropy-prng";
35-
status = "okay";
31+
zephyr,entropy = &psa_rng;
3632
};
3733

3834
aliases {
3935
ipc-to-cpusys = &cpurad_cpusys_ipc;
4036
resetinfo = &cpurad_resetinfo;
4137
};
38+
39+
prng: prng {
40+
compatible = "nordic,entropy-prng";
41+
status = "disabled";
42+
};
43+
44+
psa_rng: psa-rng {
45+
compatible = "zephyr,psa-crypto-rng";
46+
status = "okay";
47+
};
4248
};
4349

4450
&cpurad_bellboard {

0 commit comments

Comments
 (0)