Skip to content

Commit

Permalink
[nrf noup] dts: choose a crypto accelerator for entropy
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
SebastianBoe authored and jfischer-no committed Feb 29, 2024
1 parent 9af8910 commit baa4ee7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dts/arm/nordic/nrf54l_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@

chosen {
zephyr,flash-controller = &rram_controller;
zephyr,entropy = &psa_rng;
};

psa_rng: psa-rng {
compatible = "zephyr,psa-crypto-rng";
status = "okay";
};

sw_pwm: sw-pwm {
Expand Down

0 comments on commit baa4ee7

Please sign in to comment.