Skip to content

Commit 0903efa

Browse files
aescolardkalowsk
authored andcommitted
soc nrf54lm20a: Fix entropy source
nordic,entropy-prng does not exist in Zephyr (it is part of NCS) but we have in both the nordic,nrf-cracen-ctrdrbg which is an actual source of true entropy and works with this SOC. Let's use that instead. Fixes failures to build targeting the nrf54lm20dk any test/sample which uses the entropy driver. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
1 parent e7fdc84 commit 0903efa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dts/arm/nordic/nrf54lm20a_enga_cpuapp.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ nvic: &cpuapp_nvic {};
1717

1818
/ {
1919
chosen {
20-
zephyr,entropy = &prng;
20+
zephyr,entropy = &rng;
2121
};
2222

2323
soc {
@@ -31,9 +31,9 @@ nvic: &cpuapp_nvic {};
3131
status = "disabled";
3232
};
3333

34-
prng: prng {
35-
compatible = "nordic,entropy-prng";
34+
rng: rng {
3635
status = "okay";
36+
compatible = "nordic,nrf-cracen-ctrdrbg";
3737
};
3838
};
3939

0 commit comments

Comments
 (0)