Skip to content

Commit f3bc986

Browse files
committed
Revert "[nrf fromtree] soc: nordic: Introduce the nRF54L05 and nRF54L10"
This reverts commit 29e1f33. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent eaa9341 commit f3bc986

35 files changed

+939
-8561
lines changed

drivers/adc/adc_nrfx_saadc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static const uint8_t saadc_psels[NRF_SAADC_AIN7 + 1] = {
3131
[NRF_SAADC_AIN6] = NRF_PIN_PORT_TO_PIN_NUMBER(6U, 1),
3232
[NRF_SAADC_AIN7] = NRF_PIN_PORT_TO_PIN_NUMBER(7U, 1),
3333
};
34-
#elif defined(CONFIG_SOC_NRF54L05) || defined(CONFIG_SOC_NRF54L10) || defined(CONFIG_SOC_NRF54L15)
34+
#elif defined(CONFIG_SOC_NRF54L15)
3535
static const uint32_t saadc_psels[NRF_SAADC_DVDD + 1] = {
3636
[NRF_SAADC_AIN0] = NRF_PIN_PORT_TO_PIN_NUMBER(4U, 1),
3737
[NRF_SAADC_AIN1] = NRF_PIN_PORT_TO_PIN_NUMBER(5U, 1),
@@ -667,7 +667,7 @@ static const struct adc_driver_api adc_nrfx_driver_api = {
667667
#ifdef CONFIG_ADC_ASYNC
668668
.read_async = adc_nrfx_read_async,
669669
#endif
670-
#if defined(CONFIG_SOC_NRF54L05) || defined(CONFIG_SOC_NRF54L10) || defined(CONFIG_SOC_NRF54L15)
670+
#if defined(CONFIG_SOC_NRF54L15)
671671
.ref_internal = 900,
672672
#elif defined(CONFIG_NRF_PLATFORM_HALTIUM)
673673
.ref_internal = 1024,

drivers/comparator/comparator_nrf_comp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ static const uint32_t shim_nrf_comp_ain_map[] = {
7878
NRF_PIN_PORT_TO_PIN_NUMBER(5U, 1),
7979
NRF_PIN_PORT_TO_PIN_NUMBER(6U, 1),
8080
NRF_PIN_PORT_TO_PIN_NUMBER(7U, 1),
81-
#elif defined(CONFIG_SOC_NRF54L05) || defined(CONFIG_SOC_NRF54L10) || defined(CONFIG_SOC_NRF54L15)
81+
#elif defined(CONFIG_SOC_NRF54L15)
8282
NRF_PIN_PORT_TO_PIN_NUMBER(4U, 1),
8383
NRF_PIN_PORT_TO_PIN_NUMBER(5U, 1),
8484
NRF_PIN_PORT_TO_PIN_NUMBER(6U, 1),

drivers/comparator/comparator_nrf_lpcomp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static const uint32_t shim_nrf_lpcomp_ain_map[] = {
4949
NRF_PIN_PORT_TO_PIN_NUMBER(5U, 1),
5050
NRF_PIN_PORT_TO_PIN_NUMBER(6U, 1),
5151
NRF_PIN_PORT_TO_PIN_NUMBER(7U, 1),
52-
#elif defined(CONFIG_SOC_NRF54L05) || defined(CONFIG_SOC_NRF54L10) || defined(CONFIG_SOC_NRF54L15)
52+
#elif defined(CONFIG_SOC_NRF54L15)
5353
NRF_PIN_PORT_TO_PIN_NUMBER(4U, 1),
5454
NRF_PIN_PORT_TO_PIN_NUMBER(5U, 1),
5555
NRF_PIN_PORT_TO_PIN_NUMBER(6U, 1),

drivers/misc/nordic_vpr_launcher/nordic_vpr_launcher.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <zephyr/toolchain.h>
1515

1616
#include <hal/nrf_vpr.h>
17-
#if defined(CONFIG_SOC_NRF54L_CPUAPP_COMMON) && !defined(CONFIG_TRUSTED_EXECUTION_NONSECURE)
17+
#if defined(CONFIG_SOC_NRF54L15_CPUAPP) && !defined(CONFIG_TRUSTED_EXECUTION_NONSECURE)
1818
#include <hal/nrf_spu.h>
1919
#endif
2020

@@ -41,7 +41,7 @@ static int nordic_vpr_launcher_init(const struct device *dev)
4141
}
4242
#endif
4343

44-
#if defined(CONFIG_SOC_NRF54L_CPUAPP_COMMON) && !defined(CONFIG_TRUSTED_EXECUTION_NONSECURE)
44+
#if defined(CONFIG_SOC_NRF54L15_CPUAPP) && !defined(CONFIG_TRUSTED_EXECUTION_NONSECURE)
4545
nrf_spu_periph_perm_secattr_set(NRF_SPU00, nrf_address_slave_get((uint32_t)config->vpr),
4646
true);
4747
#endif

dts/arm/nordic/nrf54l05_cpuapp.dtsi

Lines changed: 0 additions & 8 deletions
This file was deleted.

dts/arm/nordic/nrf54l10_cpuapp.dtsi

Lines changed: 0 additions & 8 deletions
This file was deleted.

dts/arm/nordic/nrf54l15_cpuapp.dtsi

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,84 @@
55
*/
66

77
#include <nordic/nrf54l15.dtsi>
8-
#include "nrf54l_05_10_15_cpuapp.dtsi"
8+
9+
cpu: &cpuapp {};
10+
systick: &cpuapp_systick {};
11+
nvic: &cpuapp_nvic {};
12+
13+
/delete-node/ &cpuflpr;
14+
/delete-node/ &cpuflpr_rram;
15+
/delete-node/ &cpuflpr_sram;
16+
/delete-node/ &cpuflpr_clic;
17+
18+
/ {
19+
chosen {
20+
zephyr,bt-hci = &bt_hci_controller;
21+
};
22+
23+
soc {
24+
compatible = "simple-bus";
25+
interrupt-parent = <&cpuapp_nvic>;
26+
ranges;
27+
};
28+
29+
psa_rng: psa-rng {
30+
compatible = "zephyr,psa-crypto-rng";
31+
status = "disabled";
32+
};
33+
};
34+
35+
&bt_hci_controller {
36+
status = "okay";
37+
};
38+
39+
&cpuflpr_vpr {
40+
cpuapp_vevif_rx: mailbox@1 {
41+
compatible = "nordic,nrf-vevif-event-rx";
42+
reg = <0x0 0x1000>;
43+
status = "disabled";
44+
interrupts = <76 NRF_DEFAULT_IRQ_PRIORITY>;
45+
#mbox-cells = <1>;
46+
nordic,events = <1>;
47+
nordic,events-mask = <0x00100000>;
48+
};
49+
50+
cpuapp_vevif_tx: mailbox@0 {
51+
compatible = "nordic,nrf-vevif-task-tx";
52+
reg = <0x0 0x1000>;
53+
#mbox-cells = <1>;
54+
nordic,tasks = <7>;
55+
nordic,tasks-mask = <0x007f0000>;
56+
status = "disabled";
57+
};
58+
};
59+
60+
&cpuapp_ppb {
61+
compatible = "simple-bus";
62+
ranges;
63+
};
64+
65+
&grtc {
66+
#ifdef USE_NON_SECURE_ADDRESS_MAP
67+
interrupts = <227 NRF_DEFAULT_IRQ_PRIORITY>,
68+
#else
69+
interrupts = <228 NRF_DEFAULT_IRQ_PRIORITY>,
70+
#endif
71+
<229 NRF_DEFAULT_IRQ_PRIORITY>; /* reserved for Zero Latency IRQs */
72+
};
73+
74+
&gpiote20 {
75+
#ifdef USE_NON_SECURE_ADDRESS_MAP
76+
interrupts = <218 NRF_DEFAULT_IRQ_PRIORITY>;
77+
#else
78+
interrupts = <219 NRF_DEFAULT_IRQ_PRIORITY>;
79+
#endif
80+
};
81+
82+
&gpiote30 {
83+
#ifdef USE_NON_SECURE_ADDRESS_MAP
84+
interrupts = <268 NRF_DEFAULT_IRQ_PRIORITY>;
85+
#else
86+
interrupts = <269 NRF_DEFAULT_IRQ_PRIORITY>;
87+
#endif
88+
};

dts/arm/nordic/nrf54l_05_10_15_cpuapp.dtsi

Lines changed: 0 additions & 86 deletions
This file was deleted.

dts/common/nordic/nrf54l05.dtsi

Lines changed: 0 additions & 39 deletions
This file was deleted.

dts/common/nordic/nrf54l10.dtsi

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)