Skip to content

Commit 3097879

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 6aa26ee commit 3097879

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 {
@@ -111,6 +111,11 @@
111111

112112
prng: prng {
113113
compatible = "nordic,entropy-prng";
114+
status = "disabled";
115+
};
116+
117+
psa_rng: psa-rng {
118+
compatible = "zephyr,psa-crypto-rng";
114119
status = "okay";
115120
};
116121
};

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)