Skip to content

Commit eaa9341

Browse files
committed
Revert "[nrf noup] dts: choose a crypto accelerator for entropy"
This reverts commit de051d6. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent bf15fb9 commit eaa9341

File tree

5 files changed

+8
-12
lines changed

5 files changed

+8
-12
lines changed

dts/arm/nordic/nrf52840.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/ {
99
chosen {
1010
zephyr,bt-hci = &bt_hci_controller;
11-
zephyr,entropy = &cryptocell;
11+
zephyr,entropy = &rng;
1212
zephyr,flash-controller = &flash_controller;
1313
};
1414

@@ -562,7 +562,7 @@
562562
reg = <0x5002a000 0x1000>, <0x5002b000 0x1000>;
563563
reg-names = "wrapper", "core";
564564
interrupts = <42 NRF_DEFAULT_IRQ_PRIORITY>;
565-
status = "okay";
565+
status = "disabled";
566566
};
567567
};
568568
};

dts/arm/nordic/nrf5340_cpuapp.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
};
3535

3636
chosen {
37-
zephyr,entropy = &cryptocell;
37+
zephyr,entropy = &rng_hci;
3838
zephyr,flash-controller = &flash_controller;
3939
};
4040

@@ -103,7 +103,7 @@
103103
reg = <0x50844000 0x1000>, <0x50845000 0x1000>;
104104
reg-names = "wrapper", "core";
105105
interrupts = <68 NRF_DEFAULT_IRQ_PRIORITY>;
106-
status = "okay";
106+
status = "disabled";
107107
};
108108
};
109109

dts/arm/nordic/nrf54l_05_10_15_cpuapp.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ nvic: &cpuapp_nvic {};
1616
/ {
1717
chosen {
1818
zephyr,bt-hci = &bt_hci_controller;
19-
zephyr,entropy = &psa_rng;
2019
};
2120

2221
soc {
@@ -27,7 +26,7 @@ nvic: &cpuapp_nvic {};
2726

2827
psa_rng: psa-rng {
2928
compatible = "zephyr,psa-crypto-rng";
30-
status = "okay";
29+
status = "disabled";
3130
};
3231
};
3332

dts/arm/nordic/nrf91.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
};
2929

3030
chosen {
31-
zephyr,entropy = &cryptocell;
3231
zephyr,flash-controller = &flash_controller;
3332
};
3433

@@ -52,7 +51,7 @@
5251
reg = <0x50840000 0x1000>, <0x50841000 0x1000>;
5352
reg-names = "wrapper", "core";
5453
interrupts = <64 NRF_DEFAULT_IRQ_PRIORITY>;
55-
status = "okay";
54+
status = "disabled";
5655
};
5756

5857
ctrlap: ctrlap@50006000 {

soc/nordic/common/Kconfig.peripherals

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ config HAS_HW_NRF_BPROT
1313
def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_BPROT))
1414

1515
config HAS_HW_NRF_CC310
16-
def_bool $(dt_compat_enabled,$(DT_COMPAT_ARM_CRYPTOCELL_310)) || \
17-
($(dt_nodelabel_enabled,psa_rng) && SOC_SERIES_NRF91X)
16+
def_bool $(dt_compat_enabled,$(DT_COMPAT_ARM_CRYPTOCELL_310))
1817

1918
config HAS_HW_NRF_CC312
20-
def_bool $(dt_compat_enabled,$(DT_COMPAT_ARM_CRYPTOCELL_312)) || \
21-
($(dt_nodelabel_enabled,psa_rng) && SOC_NRF5340_CPUAPP)
19+
def_bool $(dt_compat_enabled,$(DT_COMPAT_ARM_CRYPTOCELL_312))
2220

2321
config HAS_HW_NRF_CCM
2422
def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_CCM))

0 commit comments

Comments
 (0)