From 5e4cb886f43f581ed9a4522d9dc010ecd8826d93 Mon Sep 17 00:00:00 2001 From: Jakub Zymelka Date: Fri, 19 Apr 2024 10:17:51 +0200 Subject: [PATCH] dts: nordic: Change IRQ number for GPIOTE instances for nRF54L15 Adjusting the interrupt numbers for individual cores to match the definitions in nrfx. Signed-off-by: Jakub Zymelka --- dts/arm/nordic/nrf54l15_cpuapp.dtsi | 8 ++++++++ dts/common/nordic/nrf54l15.dtsi | 2 -- dts/riscv/nordic/nrf54l15_cpuflpr.dtsi | 8 ++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/dts/arm/nordic/nrf54l15_cpuapp.dtsi b/dts/arm/nordic/nrf54l15_cpuapp.dtsi index fa240f8779..6a4f5fcae2 100644 --- a/dts/arm/nordic/nrf54l15_cpuapp.dtsi +++ b/dts/arm/nordic/nrf54l15_cpuapp.dtsi @@ -38,3 +38,11 @@ cpuflpr_vevif: &cpuflpr_vevif_remote {}; interrupts = <228 NRF_DEFAULT_IRQ_PRIORITY>, <229 NRF_DEFAULT_IRQ_PRIORITY>; /* reserved for Zero Latency IRQs */ }; + +&gpiote20 { + interrupts = <219 NRF_DEFAULT_IRQ_PRIORITY>; +}; + +&gpiote30 { + interrupts = <269 NRF_DEFAULT_IRQ_PRIORITY>; +}; diff --git a/dts/common/nordic/nrf54l15.dtsi b/dts/common/nordic/nrf54l15.dtsi index 8083826d42..76dc4903f5 100644 --- a/dts/common/nordic/nrf54l15.dtsi +++ b/dts/common/nordic/nrf54l15.dtsi @@ -488,7 +488,6 @@ gpiote20: gpiote@da000 { compatible = "nordic,nrf-gpiote"; reg = <0xda000 0x1000>; - interrupts = <219 NRF_DEFAULT_IRQ_PRIORITY>; status = "disabled"; instance = <20>; }; @@ -594,7 +593,6 @@ gpiote30: gpiote@10c000 { compatible = "nordic,nrf-gpiote"; reg = <0x10c000 0x1000>; - interrupts = <269 NRF_DEFAULT_IRQ_PRIORITY>; status = "disabled"; instance = <30>; }; diff --git a/dts/riscv/nordic/nrf54l15_cpuflpr.dtsi b/dts/riscv/nordic/nrf54l15_cpuflpr.dtsi index 288a6a71cc..14a92935f4 100644 --- a/dts/riscv/nordic/nrf54l15_cpuflpr.dtsi +++ b/dts/riscv/nordic/nrf54l15_cpuflpr.dtsi @@ -30,3 +30,11 @@ cpuflpr_vevif: &cpuflpr_vevif_local {}; &grtc { interrupts = <226 NRF_DEFAULT_IRQ_PRIORITY>; }; + +&gpiote20 { + interrupts = <218 NRF_DEFAULT_IRQ_PRIORITY>; +}; + +&gpiote30 { + interrupts = <268 NRF_DEFAULT_IRQ_PRIORITY>; +};