Skip to content

Commit c1c66b9

Browse files
seko-nordicrlubos
authored andcommitted
[nrf noup] boards: nordic: Enable PSA RNG for nrf9280
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 nrf9280pdk cpuapp and cpurad targets. Signed-off-by: Sergey Korotkov <[email protected]>
1 parent b7a8e83 commit c1c66b9

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

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: 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
&cpuapp_cpurad_ram0x_region {

0 commit comments

Comments
 (0)