Skip to content

Commit abe3a1c

Browse files
committed
[nrf noup] boards: nordic: Enable PSA RNG for secdom devices
Noup since secdom is not available upstream. This enables the PSA RNG as the default Zephyr entropy provider for the following secdom enabled targets: nrf54h20_cpuapp and cpurad nrf9280_cpuapp Signed-off-by: Georgios Vasilakis <[email protected]> Signed-off-by: Frank Audun Kvamtrø <[email protected]>
1 parent 8ceab93 commit abe3a1c

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

Lines changed: 3 additions & 3 deletions
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 {
@@ -109,8 +109,8 @@
109109
};
110110
};
111111

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

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 {

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280_cpuapp.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
zephyr,bt-hci = &bt_hci_ipc0;
2929
nordic,802154-spinel-ipc = &ipc0;
3030
zephyr,canbus = &can120;
31-
zephyr,entropy = &prng;
31+
zephyr,entropy = &psa_rng;
3232
};
3333

3434
aliases {
@@ -110,8 +110,8 @@
110110
};
111111
};
112112

113-
prng: prng {
114-
compatible = "nordic,entropy-prng";
113+
psa_rng: psa-rng {
114+
compatible = "zephyr,psa-crypto-rng";
115115
status = "okay";
116116
};
117117
};

0 commit comments

Comments
 (0)