Skip to content

Commit baa4ee7

Browse files
SebastianBoejfischer-no
authored andcommitted
[nrf noup] dts: choose a crypto accelerator for entropy
squash! [nrf noup] dts: choose cryptocell for entropy when available This is a long-term noup patch because crypto driver support is NCS-only for both cryptocell and CRACEN. Set HAS_HW_NRF_CC3XX to be defined in NS build when cryptocell is accessed through the PSA API. We need to know which CC3XX features are available. Set PSA as the entropy source for 54L. PSA is the only NCS-supported interface to CRACEN. Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no> Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no> (cherry picked from commit c76cf87) (cherry picked from commit 214533f) (cherry picked from commit 3819c4a) (cherry picked from commit 910bb5f) Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no> Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
1 parent 9af8910 commit baa4ee7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dts/arm/nordic/nrf54l_common.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525

2626
chosen {
2727
zephyr,flash-controller = &rram_controller;
28+
zephyr,entropy = &psa_rng;
29+
};
30+
31+
psa_rng: psa-rng {
32+
compatible = "zephyr,psa-crypto-rng";
33+
status = "okay";
2834
};
2935

3036
sw_pwm: sw-pwm {

0 commit comments

Comments
 (0)