Skip to content

Commit 79b6cd8

Browse files
Vge0rgeseko-nordic
authored andcommitted
[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]> Signed-off-by: Sergey Korotkov <[email protected]>
1 parent ba5b3d4 commit 79b6cd8

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

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

3233
aliases {
@@ -109,6 +110,11 @@
109110
pwms = <&pwm130 0 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
110111
};
111112
};
113+
114+
psa_rng: psa-rng {
115+
compatible = "zephyr,psa-crypto-rng";
116+
status = "okay";
117+
};
112118
};
113119

114120
&cpuapp_bellboard {

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpurad.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,18 @@
2828
zephyr,ieee802154 = &cpurad_ieee802154;
2929
zephyr,bt-hci-ipc = &ipc0;
3030
nordic,802154-spinel-ipc = &ipc0;
31+
zephyr,entropy = &psa_rng;
3132
};
3233

3334
aliases {
3435
ipc-to-cpusys = &cpurad_cpusys_ipc;
3536
resetinfo = &cpurad_resetinfo;
3637
};
38+
39+
psa_rng: psa-rng {
40+
compatible = "zephyr,psa-crypto-rng";
41+
status = "okay";
42+
};
3743
};
3844

3945
&cpurad_bellboard {

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280_cpuapp.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
zephyr,shell-uart = &uart136;
2727
zephyr,bt-hci = &bt_hci_ipc0;
2828
nordic,802154-spinel-ipc = &ipc0;
29+
zephyr,entropy = &psa_rng;
2930
};
3031

3132
aliases {
@@ -107,6 +108,11 @@
107108
pwms = <&pwm130 0 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
108109
};
109110
};
111+
112+
psa_rng: psa-rng {
113+
compatible = "zephyr,psa-crypto-rng";
114+
status = "okay";
115+
};
110116
};
111117

112118
&cpuapp_ram0x_region {

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280_cpurad.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
zephyr,ieee802154 = &cpurad_ieee802154;
2929
zephyr,bt-hci-ipc = &ipc0;
3030
nordic,802154-spinel-ipc = &ipc0;
31+
zephyr,entropy = &psa_rng;
32+
};
33+
psa_rng: psa-rng {
34+
compatible = "zephyr,psa-crypto-rng";
35+
status = "okay";
3136
};
3237

3338
aliases {

0 commit comments

Comments
 (0)