diff --git a/drivers/adc/adc_nrfx_adc.c b/drivers/adc/adc_nrfx_adc.c index 51230195d2..de607a158a 100644 --- a/drivers/adc/adc_nrfx_adc.c +++ b/drivers/adc/adc_nrfx_adc.c @@ -259,8 +259,8 @@ static int init_adc(struct device *dev) return -EBUSY; } - IRQ_CONNECT(DT_NORDIC_NRF_ADC_ADC_0_IRQ, - DT_NORDIC_NRF_ADC_ADC_0_IRQ_PRIORITY, + IRQ_CONNECT(DT_NORDIC_NRF_ADC_ADC_0_IRQ_0, + DT_NORDIC_NRF_ADC_ADC_0_IRQ_0_PRIORITY, nrfx_isr, nrfx_adc_irq_handler, 0); adc_context_unlock_unconditionally(&m_data.ctx); diff --git a/drivers/adc/adc_nrfx_saadc.c b/drivers/adc/adc_nrfx_saadc.c index e414974683..8bda534e2c 100644 --- a/drivers/adc/adc_nrfx_saadc.c +++ b/drivers/adc/adc_nrfx_saadc.c @@ -389,10 +389,10 @@ static int init_saadc(struct device *dev) nrf_saadc_event_clear(NRF_SAADC_EVENT_CALIBRATEDONE); nrf_saadc_int_enable(NRF_SAADC_INT_END | NRF_SAADC_INT_CALIBRATEDONE); - NRFX_IRQ_ENABLE(DT_NORDIC_NRF_SAADC_ADC_0_IRQ); + NRFX_IRQ_ENABLE(DT_NORDIC_NRF_SAADC_ADC_0_IRQ_0); - IRQ_CONNECT(DT_NORDIC_NRF_SAADC_ADC_0_IRQ, - DT_NORDIC_NRF_SAADC_ADC_0_IRQ_PRIORITY, + IRQ_CONNECT(DT_NORDIC_NRF_SAADC_ADC_0_IRQ_0, + DT_NORDIC_NRF_SAADC_ADC_0_IRQ_0_PRIORITY, saadc_irq_handler, DEVICE_GET(adc_0), 0); adc_context_unlock_unconditionally(&m_data.ctx); diff --git a/drivers/counter/counter_nrfx_rtc.c b/drivers/counter/counter_nrfx_rtc.c index b59851bb40..162d98d3c9 100644 --- a/drivers/counter/counter_nrfx_rtc.c +++ b/drivers/counter/counter_nrfx_rtc.c @@ -328,8 +328,8 @@ static const struct counter_driver_api counter_nrfx_driver_api = { } \ static int counter_##idx##_init(struct device *dev) \ { \ - IRQ_CONNECT(DT_NORDIC_NRF_RTC_RTC_##idx##_IRQ, \ - DT_NORDIC_NRF_RTC_RTC_##idx##_IRQ_PRIORITY, \ + IRQ_CONNECT(DT_NORDIC_NRF_RTC_RTC_##idx##_IRQ_0, \ + DT_NORDIC_NRF_RTC_RTC_##idx##_IRQ_0_PRIORITY, \ nrfx_isr, nrfx_rtc_##idx##_irq_handler, 0); \ const nrfx_rtc_config_t config = { \ .prescaler = \ diff --git a/drivers/counter/counter_nrfx_timer.c b/drivers/counter/counter_nrfx_timer.c index 1b60b1022a..a8ddb0e2df 100644 --- a/drivers/counter/counter_nrfx_timer.c +++ b/drivers/counter/counter_nrfx_timer.c @@ -257,8 +257,8 @@ static const struct counter_driver_api counter_nrfx_driver_api = { "TIMER prescaler out of range"); \ static int counter_##idx##_init(struct device *dev) \ { \ - IRQ_CONNECT(DT_NORDIC_NRF_TIMER_TIMER_##idx##_IRQ, \ - DT_NORDIC_NRF_TIMER_TIMER_##idx##_IRQ_PRIORITY, \ + IRQ_CONNECT(DT_NORDIC_NRF_TIMER_TIMER_##idx##_IRQ_0, \ + DT_NORDIC_NRF_TIMER_TIMER_##idx##_IRQ_0_PRIORITY, \ nrfx_isr, nrfx_timer_##idx##_irq_handler, 0); \ const nrfx_timer_config_t config = { \ .frequency = \ diff --git a/drivers/gpio/gpio_mcux.c b/drivers/gpio/gpio_mcux.c index 0e58fbfc85..1e39f359a6 100644 --- a/drivers/gpio/gpio_mcux.c +++ b/drivers/gpio/gpio_mcux.c @@ -242,7 +242,7 @@ static int gpio_mcux_porta_init(struct device *dev); static const struct gpio_mcux_config gpio_mcux_porta_config = { .gpio_base = (GPIO_Type *) DT_NXP_KINETIS_GPIO_GPIO_A_BASE_ADDRESS, .port_base = PORTA, -#ifdef DT_NXP_KINETIS_GPIO_GPIO_A_IRQ +#ifdef DT_NXP_KINETIS_GPIO_GPIO_A_IRQ_0 .flags = GPIO_INT, #else .flags = 0, @@ -259,11 +259,11 @@ DEVICE_AND_API_INIT(gpio_mcux_porta, DT_NXP_KINETIS_GPIO_GPIO_A_LABEL, static int gpio_mcux_porta_init(struct device *dev) { -#ifdef DT_NXP_KINETIS_GPIO_GPIO_A_IRQ - IRQ_CONNECT(DT_NXP_KINETIS_GPIO_GPIO_A_IRQ, DT_NXP_KINETIS_GPIO_GPIO_A_IRQ_PRIORITY, +#ifdef DT_NXP_KINETIS_GPIO_GPIO_A_IRQ_0 + IRQ_CONNECT(DT_NXP_KINETIS_GPIO_GPIO_A_IRQ_0, DT_NXP_KINETIS_GPIO_GPIO_A_IRQ_0_PRIORITY, gpio_mcux_port_isr, DEVICE_GET(gpio_mcux_porta), 0); - irq_enable(DT_NXP_KINETIS_GPIO_GPIO_A_IRQ); + irq_enable(DT_NXP_KINETIS_GPIO_GPIO_A_IRQ_0); #endif return 0; } @@ -275,7 +275,7 @@ static int gpio_mcux_portb_init(struct device *dev); static const struct gpio_mcux_config gpio_mcux_portb_config = { .gpio_base = (GPIO_Type *) DT_NXP_KINETIS_GPIO_GPIO_B_BASE_ADDRESS, .port_base = PORTB, -#ifdef DT_NXP_KINETIS_GPIO_GPIO_B_IRQ +#ifdef DT_NXP_KINETIS_GPIO_GPIO_B_IRQ_0 .flags = GPIO_INT, #else .flags = 0, @@ -292,11 +292,11 @@ DEVICE_AND_API_INIT(gpio_mcux_portb, DT_NXP_KINETIS_GPIO_GPIO_B_LABEL, static int gpio_mcux_portb_init(struct device *dev) { -#ifdef DT_NXP_KINETIS_GPIO_GPIO_B_IRQ - IRQ_CONNECT(DT_NXP_KINETIS_GPIO_GPIO_B_IRQ, DT_NXP_KINETIS_GPIO_GPIO_B_IRQ_PRIORITY, +#ifdef DT_NXP_KINETIS_GPIO_GPIO_B_IRQ_0 + IRQ_CONNECT(DT_NXP_KINETIS_GPIO_GPIO_B_IRQ_0, DT_NXP_KINETIS_GPIO_GPIO_B_IRQ_0_PRIORITY, gpio_mcux_port_isr, DEVICE_GET(gpio_mcux_portb), 0); - irq_enable(DT_NXP_KINETIS_GPIO_GPIO_B_IRQ); + irq_enable(DT_NXP_KINETIS_GPIO_GPIO_B_IRQ_0); #endif return 0; } @@ -308,7 +308,7 @@ static int gpio_mcux_portc_init(struct device *dev); static const struct gpio_mcux_config gpio_mcux_portc_config = { .gpio_base = (GPIO_Type *) DT_NXP_KINETIS_GPIO_GPIO_C_BASE_ADDRESS, .port_base = PORTC, -#ifdef DT_NXP_KINETIS_GPIO_GPIO_C_IRQ +#ifdef DT_NXP_KINETIS_GPIO_GPIO_C_IRQ_0 .flags = GPIO_INT, #else .flags = 0, @@ -325,11 +325,11 @@ DEVICE_AND_API_INIT(gpio_mcux_portc, DT_NXP_KINETIS_GPIO_GPIO_C_LABEL, static int gpio_mcux_portc_init(struct device *dev) { -#ifdef DT_NXP_KINETIS_GPIO_GPIO_C_IRQ - IRQ_CONNECT(DT_NXP_KINETIS_GPIO_GPIO_C_IRQ, DT_NXP_KINETIS_GPIO_GPIO_C_IRQ_PRIORITY, +#ifdef DT_NXP_KINETIS_GPIO_GPIO_C_IRQ_0 + IRQ_CONNECT(DT_NXP_KINETIS_GPIO_GPIO_C_IRQ_0, DT_NXP_KINETIS_GPIO_GPIO_C_IRQ_0_PRIORITY, gpio_mcux_port_isr, DEVICE_GET(gpio_mcux_portc), 0); - irq_enable(DT_NXP_KINETIS_GPIO_GPIO_C_IRQ); + irq_enable(DT_NXP_KINETIS_GPIO_GPIO_C_IRQ_0); #endif return 0; } @@ -341,7 +341,7 @@ static int gpio_mcux_portd_init(struct device *dev); static const struct gpio_mcux_config gpio_mcux_portd_config = { .gpio_base = (GPIO_Type *) DT_NXP_KINETIS_GPIO_GPIO_D_BASE_ADDRESS, .port_base = PORTD, -#ifdef DT_NXP_KINETIS_GPIO_GPIO_D_IRQ +#ifdef DT_NXP_KINETIS_GPIO_GPIO_D_IRQ_0 .flags = GPIO_INT, #else .flags = 0, @@ -358,11 +358,11 @@ DEVICE_AND_API_INIT(gpio_mcux_portd, DT_NXP_KINETIS_GPIO_GPIO_D_LABEL, static int gpio_mcux_portd_init(struct device *dev) { -#ifdef DT_NXP_KINETIS_GPIO_GPIO_D_IRQ - IRQ_CONNECT(DT_NXP_KINETIS_GPIO_GPIO_D_IRQ, DT_NXP_KINETIS_GPIO_GPIO_D_IRQ_PRIORITY, +#ifdef DT_NXP_KINETIS_GPIO_GPIO_D_IRQ_0 + IRQ_CONNECT(DT_NXP_KINETIS_GPIO_GPIO_D_IRQ_0, DT_NXP_KINETIS_GPIO_GPIO_D_IRQ_0_PRIORITY, gpio_mcux_port_isr, DEVICE_GET(gpio_mcux_portd), 0); - irq_enable(DT_NXP_KINETIS_GPIO_GPIO_D_IRQ); + irq_enable(DT_NXP_KINETIS_GPIO_GPIO_D_IRQ_0); #endif return 0; } @@ -374,7 +374,7 @@ static int gpio_mcux_porte_init(struct device *dev); static const struct gpio_mcux_config gpio_mcux_porte_config = { .gpio_base = (GPIO_Type *) DT_NXP_KINETIS_GPIO_GPIO_E_BASE_ADDRESS, .port_base = PORTE, -#ifdef DT_NXP_KINETIS_GPIO_GPIO_E_IRQ +#ifdef DT_NXP_KINETIS_GPIO_GPIO_E_IRQ_0 .flags = GPIO_INT, #else .flags = 0, @@ -391,11 +391,11 @@ DEVICE_AND_API_INIT(gpio_mcux_porte, DT_NXP_KINETIS_GPIO_GPIO_E_LABEL, static int gpio_mcux_porte_init(struct device *dev) { -#ifdef DT_NXP_KINETIS_GPIO_GPIO_E_IRQ - IRQ_CONNECT(DT_NXP_KINETIS_GPIO_GPIO_E_IRQ, DT_NXP_KINETIS_GPIO_GPIO_E_IRQ_PRIORITY, +#ifdef DT_NXP_KINETIS_GPIO_GPIO_E_IRQ_0 + IRQ_CONNECT(DT_NXP_KINETIS_GPIO_GPIO_E_IRQ_0, DT_NXP_KINETIS_GPIO_GPIO_E_IRQ_0_PRIORITY, gpio_mcux_port_isr, DEVICE_GET(gpio_mcux_porte), 0); - irq_enable(DT_NXP_KINETIS_GPIO_GPIO_E_IRQ); + irq_enable(DT_NXP_KINETIS_GPIO_GPIO_E_IRQ_0); #endif return 0; } diff --git a/drivers/gpio/gpio_nrfx.c b/drivers/gpio/gpio_nrfx.c index 9d63ee124b..a6e7b6d0df 100644 --- a/drivers/gpio/gpio_nrfx.c +++ b/drivers/gpio/gpio_nrfx.c @@ -475,11 +475,11 @@ static int gpio_nrfx_init(struct device *port) if (!gpio_initialized) { gpio_initialized = true; - IRQ_CONNECT(DT_NORDIC_NRF_GPIOTE_GPIOTE_0_IRQ, - DT_NORDIC_NRF_GPIOTE_GPIOTE_0_IRQ_PRIORITY, + IRQ_CONNECT(DT_NORDIC_NRF_GPIOTE_GPIOTE_0_IRQ_0, + DT_NORDIC_NRF_GPIOTE_GPIOTE_0_IRQ_0_PRIORITY, gpiote_event_handler, NULL, 0); - irq_enable(DT_NORDIC_NRF_GPIOTE_GPIOTE_0_IRQ); + irq_enable(DT_NORDIC_NRF_GPIOTE_GPIOTE_0_IRQ_0); nrf_gpiote_int_enable(NRF_GPIOTE_INT_PORT_MASK); } diff --git a/drivers/gpio/gpio_rv32m1.c b/drivers/gpio/gpio_rv32m1.c index 98f2cda742..d4ff4bf93e 100644 --- a/drivers/gpio/gpio_rv32m1.c +++ b/drivers/gpio/gpio_rv32m1.c @@ -269,7 +269,7 @@ static int gpio_rv32m1_porta_init(struct device *dev); static const struct gpio_rv32m1_config gpio_rv32m1_porta_config = { .gpio_base = (GPIO_Type *) DT_OPENISA_RV32M1_GPIO_GPIO_A_BASE_ADDRESS, .port_base = PORTA, -#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_A_IRQ +#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_A_IRQ_0 .flags = GPIO_INT, #else .flags = 0, @@ -294,12 +294,12 @@ DEVICE_AND_API_INIT(gpio_rv32m1_porta, DT_OPENISA_RV32M1_GPIO_GPIO_A_LABEL, static int gpio_rv32m1_porta_init(struct device *dev) { -#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_A_IRQ - IRQ_CONNECT(DT_OPENISA_RV32M1_GPIO_GPIO_A_IRQ, - DT_OPENISA_RV32M1_GPIO_GPIO_A_IRQ_PRIORITY, +#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_A_IRQ_0 + IRQ_CONNECT(DT_OPENISA_RV32M1_GPIO_GPIO_A_IRQ_0, + DT_OPENISA_RV32M1_GPIO_GPIO_A_IRQ_0_PRIORITY, gpio_rv32m1_port_isr, DEVICE_GET(gpio_rv32m1_porta), 0); - irq_enable(DT_OPENISA_RV32M1_GPIO_GPIO_A_IRQ); + irq_enable(DT_OPENISA_RV32M1_GPIO_GPIO_A_IRQ_0); return 0; #else @@ -314,7 +314,7 @@ static int gpio_rv32m1_portb_init(struct device *dev); static const struct gpio_rv32m1_config gpio_rv32m1_portb_config = { .gpio_base = (GPIO_Type *) DT_OPENISA_RV32M1_GPIO_GPIO_B_BASE_ADDRESS, .port_base = PORTB, -#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_B_IRQ +#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_B_IRQ_0 .flags = GPIO_INT, #else .flags = 0, @@ -339,12 +339,12 @@ DEVICE_AND_API_INIT(gpio_rv32m1_portb, DT_OPENISA_RV32M1_GPIO_GPIO_B_LABEL, static int gpio_rv32m1_portb_init(struct device *dev) { -#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_B_IRQ - IRQ_CONNECT(DT_OPENISA_RV32M1_GPIO_GPIO_B_IRQ, - DT_OPENISA_RV32M1_GPIO_GPIO_B_IRQ_PRIORITY, +#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_B_IRQ_0 + IRQ_CONNECT(DT_OPENISA_RV32M1_GPIO_GPIO_B_IRQ_0, + DT_OPENISA_RV32M1_GPIO_GPIO_B_IRQ_0_PRIORITY, gpio_rv32m1_port_isr, DEVICE_GET(gpio_rv32m1_portb), 0); - irq_enable(DT_OPENISA_RV32M1_GPIO_GPIO_B_IRQ); + irq_enable(DT_OPENISA_RV32M1_GPIO_GPIO_B_IRQ_0); return 0; #else @@ -359,7 +359,7 @@ static int gpio_rv32m1_portc_init(struct device *dev); static const struct gpio_rv32m1_config gpio_rv32m1_portc_config = { .gpio_base = (GPIO_Type *) DT_OPENISA_RV32M1_GPIO_GPIO_C_BASE_ADDRESS, .port_base = PORTC, -#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_C_IRQ +#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_C_IRQ_0 .flags = GPIO_INT, #else .flags = 0, @@ -385,12 +385,12 @@ DEVICE_AND_API_INIT(gpio_rv32m1_portc, DT_OPENISA_RV32M1_GPIO_GPIO_C_LABEL, static int gpio_rv32m1_portc_init(struct device *dev) { -#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_C_IRQ - IRQ_CONNECT(DT_OPENISA_RV32M1_GPIO_GPIO_C_IRQ, - DT_OPENISA_RV32M1_GPIO_GPIO_C_IRQ_PRIORITY, +#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_C_IRQ_0 + IRQ_CONNECT(DT_OPENISA_RV32M1_GPIO_GPIO_C_IRQ_0, + DT_OPENISA_RV32M1_GPIO_GPIO_C_IRQ_0_PRIORITY, gpio_rv32m1_port_isr, DEVICE_GET(gpio_rv32m1_portc), 0); - irq_enable(DT_OPENISA_RV32M1_GPIO_GPIO_C_IRQ); + irq_enable(DT_OPENISA_RV32M1_GPIO_GPIO_C_IRQ_0); return 0; #else @@ -405,7 +405,7 @@ static int gpio_rv32m1_portd_init(struct device *dev); static const struct gpio_rv32m1_config gpio_rv32m1_portd_config = { .gpio_base = (GPIO_Type *) DT_OPENISA_RV32M1_GPIO_GPIO_D_BASE_ADDRESS, .port_base = PORTD, -#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_D_IRQ +#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_D_IRQ_0 .flags = GPIO_INT, #else .flags = 0, @@ -430,12 +430,12 @@ DEVICE_AND_API_INIT(gpio_rv32m1_portd, DT_OPENISA_RV32M1_GPIO_GPIO_D_LABEL, static int gpio_rv32m1_portd_init(struct device *dev) { -#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_D_IRQ - IRQ_CONNECT(DT_OPENISA_RV32M1_GPIO_GPIO_D_IRQ, - DT_OPENISA_RV32M1_GPIO_GPIO_D_IRQ_PRIORITY, +#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_D_IRQ_0 + IRQ_CONNECT(DT_OPENISA_RV32M1_GPIO_GPIO_D_IRQ_0, + DT_OPENISA_RV32M1_GPIO_GPIO_D_IRQ_0_PRIORITY, gpio_rv32m1_port_isr, DEVICE_GET(gpio_rv32m1_portd), 0); - irq_enable(DT_OPENISA_RV32M1_GPIO_GPIO_D_IRQ); + irq_enable(DT_OPENISA_RV32M1_GPIO_GPIO_D_IRQ_0); return 0; #else @@ -450,7 +450,7 @@ static int gpio_rv32m1_porte_init(struct device *dev); static const struct gpio_rv32m1_config gpio_rv32m1_porte_config = { .gpio_base = (GPIO_Type *) DT_OPENISA_RV32M1_GPIO_GPIO_E_BASE_ADDRESS, .port_base = PORTE, -#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_E_IRQ +#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_E_IRQ_0 .flags = GPIO_INT, #else .flags = 0, @@ -475,12 +475,12 @@ DEVICE_AND_API_INIT(gpio_rv32m1_porte, DT_OPENISA_RV32M1_GPIO_GPIO_E_LABEL, static int gpio_rv32m1_porte_init(struct device *dev) { -#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_E_IRQ - IRQ_CONNECT(DT_OPENISA_RV32M1_GPIO_GPIO_E_IRQ, - DT_OPENISA_RV32M1_GPIO_GPIO_E_IRQ_PRIORITY, +#ifdef DT_OPENISA_RV32M1_GPIO_GPIO_E_IRQ_0 + IRQ_CONNECT(DT_OPENISA_RV32M1_GPIO_GPIO_E_IRQ_0, + DT_OPENISA_RV32M1_GPIO_GPIO_E_IRQ_0_PRIORITY, gpio_rv32m1_port_isr, DEVICE_GET(gpio_rv32m1_porte), 0); - irq_enable(DT_OPENISA_RV32M1_GPIO_GPIO_E_IRQ); + irq_enable(DT_OPENISA_RV32M1_GPIO_GPIO_E_IRQ_0); return 0; #else diff --git a/drivers/i2c/i2c_imx.c b/drivers/i2c/i2c_imx.c index 3284d6650e..6f43929885 100644 --- a/drivers/i2c/i2c_imx.c +++ b/drivers/i2c/i2c_imx.c @@ -373,10 +373,10 @@ static void i2c_imx_config_func_1(struct device *dev) { ARG_UNUSED(dev); - IRQ_CONNECT(DT_FSL_IMX7D_I2C_I2C_1_IRQ, DT_FSL_IMX7D_I2C_I2C_1_IRQ_PRIORITY, + IRQ_CONNECT(DT_FSL_IMX7D_I2C_I2C_1_IRQ_0, DT_FSL_IMX7D_I2C_I2C_1_IRQ_0_PRIORITY, i2c_imx_isr, DEVICE_GET(i2c_imx_1), 0); - irq_enable(DT_FSL_IMX7D_I2C_I2C_1_IRQ); + irq_enable(DT_FSL_IMX7D_I2C_I2C_1_IRQ_0); } #endif /* CONFIG_I2C_1 */ @@ -400,10 +400,10 @@ static void i2c_imx_config_func_2(struct device *dev) { ARG_UNUSED(dev); - IRQ_CONNECT(DT_FSL_IMX7D_I2C_I2C_2_IRQ, DT_FSL_IMX7D_I2C_I2C_2_IRQ_PRIORITY, + IRQ_CONNECT(DT_FSL_IMX7D_I2C_I2C_2_IRQ_0, DT_FSL_IMX7D_I2C_I2C_2_IRQ_0_PRIORITY, i2c_imx_isr, DEVICE_GET(i2c_imx_2), 0); - irq_enable(DT_FSL_IMX7D_I2C_I2C_2_IRQ); + irq_enable(DT_FSL_IMX7D_I2C_I2C_2_IRQ_0); } #endif /* CONFIG_I2C_2 */ @@ -427,10 +427,10 @@ static void i2c_imx_config_func_3(struct device *dev) { ARG_UNUSED(dev); - IRQ_CONNECT(DT_FSL_IMX7D_I2C_I2C_3_IRQ, DT_FSL_IMX7D_I2C_I2C_3_IRQ_PRIORITY, + IRQ_CONNECT(DT_FSL_IMX7D_I2C_I2C_3_IRQ_0, DT_FSL_IMX7D_I2C_I2C_3_IRQ_0_PRIORITY, i2c_imx_isr, DEVICE_GET(i2c_imx_3), 0); - irq_enable(DT_FSL_IMX7D_I2C_I2C_3_IRQ); + irq_enable(DT_FSL_IMX7D_I2C_I2C_3_IRQ_0); } #endif /* CONFIG_I2C_3 */ @@ -453,9 +453,9 @@ DEVICE_AND_API_INIT(i2c_imx_4, DT_FSL_IMX7D_I2C_I2C_4_LABEL, &i2c_imx_init, static void i2c_imx_config_func_4(struct device *dev) { ARG_UNUSED(dev); - IRQ_CONNECT(DT_FSL_IMX7D_I2C_I2C_4_IRQ, DT_FSL_IMX7D_I2C_I2C_4_IRQ_PRIORITY, + IRQ_CONNECT(DT_FSL_IMX7D_I2C_I2C_4_IRQ_0, DT_FSL_IMX7D_I2C_I2C_4_IRQ_0_PRIORITY, i2c_imx_isr, DEVICE_GET(i2c_imx_4), 0); - irq_enable(DT_FSL_IMX7D_I2C_I2C_4_IRQ); + irq_enable(DT_FSL_IMX7D_I2C_I2C_4_IRQ_0); } #endif /* CONFIG_I2C_4 */ diff --git a/drivers/i2c/i2c_nrfx_twi.c b/drivers/i2c/i2c_nrfx_twi.c index 3f36a8311c..47a433557d 100644 --- a/drivers/i2c/i2c_nrfx_twi.c +++ b/drivers/i2c/i2c_nrfx_twi.c @@ -163,8 +163,8 @@ static int init_twi(struct device *dev, const nrfx_twi_config_t *config) "Wrong I2C " #idx " frequency setting in dts"); \ static int twi_##idx##_init(struct device *dev) \ { \ - IRQ_CONNECT(DT_NORDIC_NRF_I2C_I2C_##idx##_IRQ, \ - DT_NORDIC_NRF_I2C_I2C_##idx##_IRQ_PRIORITY, \ + IRQ_CONNECT(DT_NORDIC_NRF_I2C_I2C_##idx##_IRQ_0, \ + DT_NORDIC_NRF_I2C_I2C_##idx##_IRQ_0_PRIORITY, \ nrfx_isr, nrfx_twi_##idx##_irq_handler, 0); \ const nrfx_twi_config_t config = { \ .scl = DT_NORDIC_NRF_I2C_I2C_##idx##_SCL_PIN, \ diff --git a/drivers/i2c/i2c_nrfx_twim.c b/drivers/i2c/i2c_nrfx_twim.c index d406ec88ff..58e54866f5 100644 --- a/drivers/i2c/i2c_nrfx_twim.c +++ b/drivers/i2c/i2c_nrfx_twim.c @@ -166,8 +166,8 @@ static int init_twim(struct device *dev, const nrfx_twim_config_t *config) "Wrong I2C " #idx " frequency setting in dts"); \ static int twim_##idx##_init(struct device *dev) \ { \ - IRQ_CONNECT(DT_NORDIC_NRF_I2C_I2C_##idx##_IRQ, \ - DT_NORDIC_NRF_I2C_I2C_##idx##_IRQ_PRIORITY, \ + IRQ_CONNECT(DT_NORDIC_NRF_I2C_I2C_##idx##_IRQ_0, \ + DT_NORDIC_NRF_I2C_I2C_##idx##_IRQ_0_PRIORITY, \ nrfx_isr, nrfx_twim_##idx##_irq_handler, 0); \ const nrfx_twim_config_t config = { \ .scl = DT_NORDIC_NRF_I2C_I2C_##idx##_SCL_PIN, \ diff --git a/drivers/i2c/i2c_rv32m1_lpi2c.c b/drivers/i2c/i2c_rv32m1_lpi2c.c index 18111b90ee..d2df4487af 100644 --- a/drivers/i2c/i2c_rv32m1_lpi2c.c +++ b/drivers/i2c/i2c_rv32m1_lpi2c.c @@ -289,15 +289,16 @@ static const struct i2c_driver_api rv32m1_lpi2c_driver_api = { &rv32m1_lpi2c_driver_api); \ static void rv32m1_lpi2c_irq_config_func_##id(struct device *dev) \ { \ - IRQ_CONNECT(DT_OPENISA_RV32M1_LPI2C_I2C_##id##_IRQ, \ - DT_OPENISA_RV32M1_LPI2C_I2C_##id##_IRQ_PRI, \ + IRQ_CONNECT(DT_OPENISA_RV32M1_LPI2C_I2C_##id##_IRQ_0, \ + KUMARDT_OPENISA_RV32M1_LPI2C_I2C_##id##_IRQ_0_PRI, \ rv32m1_lpi2c_isr, DEVICE_GET(rv32m1_lpi2c_##id), \ 0); \ - irq_enable(DT_OPENISA_RV32M1_LPI2C_I2C_##id##_IRQ); \ + irq_enable(DT_OPENISA_RV32M1_LPI2C_I2C_##id##_IRQ_0); \ } \ #ifdef CONFIG_I2C_0 RV32M1_LPI2C_DEVICE(0) +#error KUMAR #endif #ifdef CONFIG_I2C_1 diff --git a/drivers/i2c/i2c_sam0.c b/drivers/i2c/i2c_sam0.c index 12fc80337b..6db4fd66a9 100644 --- a/drivers/i2c/i2c_sam0.c +++ b/drivers/i2c/i2c_sam0.c @@ -766,11 +766,11 @@ static const struct i2c_driver_api i2c_sam0_driver_api = { CONFIG_I2C_INIT_PRIORITY, &i2c_sam0_driver_api);\ static void i2c_sam_irq_config_##n(struct device *dev) \ { \ - IRQ_CONNECT(DT_ATMEL_SAM0_I2C_SERCOM_##n##_IRQ, \ - DT_ATMEL_SAM0_I2C_SERCOM_##n##_IRQ_PRIORITY, \ + IRQ_CONNECT(DT_ATMEL_SAM0_I2C_SERCOM_##n##_IRQ_0, \ + DT_ATMEL_SAM0_I2C_SERCOM_##n##_IRQ_0_PRIORITY, \ i2c_sam0_isr, DEVICE_GET(i2c_sam0_##n), \ 0); \ - irq_enable(DT_ATMEL_SAM0_I2C_SERCOM_##n##_IRQ); \ + irq_enable(DT_ATMEL_SAM0_I2C_SERCOM_##n##_IRQ_0); \ } #if DT_ATMEL_SAM0_I2C_SERCOM_0_BASE_ADDRESS diff --git a/drivers/serial/uart_nrfx_uart.c b/drivers/serial/uart_nrfx_uart.c index 3d37317567..13f1304905 100644 --- a/drivers/serial/uart_nrfx_uart.c +++ b/drivers/serial/uart_nrfx_uart.c @@ -724,7 +724,7 @@ static void uart_nrfx_irq_tx_enable(struct device *dev) /* Due to HW limitation first TXDRDY interrupt shall be * triggered by the software. */ - NVIC_SetPendingIRQ(DT_NORDIC_NRF_UART_UART_0_IRQ); + NVIC_SetPendingIRQ(DT_NORDIC_NRF_UART_UART_0_IRQ_0); } irq_unlock(key); } @@ -897,12 +897,12 @@ static int uart_nrfx_init(struct device *dev) #if defined(CONFIG_UART_0_ASYNC) || defined(CONFIG_UART_0_INTERRUPT_DRIVEN) - IRQ_CONNECT(DT_NORDIC_NRF_UART_UART_0_IRQ, - DT_NORDIC_NRF_UART_UART_0_IRQ_PRIORITY, + IRQ_CONNECT(DT_NORDIC_NRF_UART_UART_0_IRQ_0, + DT_NORDIC_NRF_UART_UART_0_IRQ_0_PRIORITY, uart_nrfx_isr, DEVICE_GET(uart_nrfx_uart0), 0); - irq_enable(DT_NORDIC_NRF_UART_UART_0_IRQ); + irq_enable(DT_NORDIC_NRF_UART_UART_0_IRQ_0); #endif #ifdef CONFIG_UART_0_ASYNC diff --git a/drivers/serial/uart_nrfx_uarte.c b/drivers/serial/uart_nrfx_uarte.c index befb5d9532..34ae19dfed 100644 --- a/drivers/serial/uart_nrfx_uarte.c +++ b/drivers/serial/uart_nrfx_uarte.c @@ -1263,19 +1263,19 @@ static int uarte_nrfx_pm_control(struct device *dev, u32_t ctrl_command, COND_CODE_1(IS_ENABLED(CONFIG_UART_##idx##_INTERRUPT_DRIVEN), \ (IRQ_CONNECT( \ NRFX_IRQ_NUMBER_GET(NRF_UARTE##idx), \ - DT_NORDIC_NRF_UARTE_UART_##idx##_IRQ_PRIORITY, \ + DT_NORDIC_NRF_UARTE_UART_##idx##_IRQ_0_PRIORITY, \ uarte_nrfx_isr_int, \ DEVICE_GET(uart_nrfx_uarte##idx), \ 0); \ - irq_enable(DT_NORDIC_NRF_UARTE_UART_##idx##_IRQ);), ())\ + irq_enable(DT_NORDIC_NRF_UARTE_UART_##idx##_IRQ_0);), ())\ COND_CODE_1(IS_ENABLED(CONFIG_UART_##idx##_ASYNC), \ (IRQ_CONNECT( \ NRFX_IRQ_NUMBER_GET(NRF_UARTE##idx), \ - DT_NORDIC_NRF_UARTE_UART_##idx##_IRQ_PRIORITY, \ + DT_NORDIC_NRF_UARTE_UART_##idx##_IRQ_0_PRIORITY, \ uarte_nrfx_isr_async, \ DEVICE_GET(uart_nrfx_uarte##idx), \ 0); \ - irq_enable(DT_NORDIC_NRF_UARTE_UART_##idx##_IRQ);), ())\ + irq_enable(DT_NORDIC_NRF_UARTE_UART_##idx##_IRQ_0);), ())\ return uarte_instance_init( \ dev, \ &init_config, \ diff --git a/drivers/serial/uart_rv32m1_lpuart.c b/drivers/serial/uart_rv32m1_lpuart.c index 951a3d87ce..00d02a82a4 100644 --- a/drivers/serial/uart_rv32m1_lpuart.c +++ b/drivers/serial/uart_rv32m1_lpuart.c @@ -326,10 +326,10 @@ DEVICE_AND_API_INIT(uart_0, DT_OPENISA_RV32M1_LPUART_UART_0_LABEL, #ifdef CONFIG_UART_INTERRUPT_DRIVEN static void rv32m1_lpuart_config_func_0(struct device *dev) { - IRQ_CONNECT(DT_OPENISA_RV32M1_LPUART_UART_0_IRQ, DT_OPENISA_RV32M1_LPUART_UART_0_IRQ_PRI, rv32m1_lpuart_isr, + IRQ_CONNECT(DT_OPENISA_RV32M1_LPUART_UART_0_IRQ_0, DT_OPENISA_RV32M1_LPUART_UART_0_IRQ_PRI, rv32m1_lpuart_isr, DEVICE_GET(uart_0), 0); - irq_enable(DT_OPENISA_RV32M1_LPUART_UART_0_IRQ); + irq_enable(DT_OPENISA_RV32M1_LPUART_UART_0_IRQ_0); } #endif @@ -367,10 +367,10 @@ DEVICE_AND_API_INIT(uart_1, DT_OPENISA_RV32M1_LPUART_UART_1_LABEL, #ifdef CONFIG_UART_INTERRUPT_DRIVEN static void rv32m1_lpuart_config_func_1(struct device *dev) { - IRQ_CONNECT(DT_OPENISA_RV32M1_LPUART_UART_1_IRQ, DT_OPENISA_RV32M1_LPUART_UART_1_IRQ_PRI, rv32m1_lpuart_isr, + IRQ_CONNECT(DT_OPENISA_RV32M1_LPUART_UART_1_IRQ_0, DT_OPENISA_RV32M1_LPUART_UART_1_IRQ_PRI, rv32m1_lpuart_isr, DEVICE_GET(uart_1), 0); - irq_enable(DT_OPENISA_RV32M1_LPUART_UART_1_IRQ); + irq_enable(DT_OPENISA_RV32M1_LPUART_UART_1_IRQ_0); } #endif @@ -408,10 +408,10 @@ DEVICE_AND_API_INIT(uart_2, DT_OPENISA_RV32M1_LPUART_UART_2_LABEL, #ifdef CONFIG_UART_INTERRUPT_DRIVEN static void rv32m1_lpuart_config_func_2(struct device *dev) { - IRQ_CONNECT(DT_OPENISA_RV32M1_LPUART_UART_2_IRQ, DT_OPENISA_RV32M1_LPUART_UART_2_IRQ_PRI, rv32m1_lpuart_isr, + IRQ_CONNECT(DT_OPENISA_RV32M1_LPUART_UART_2_IRQ_0, DT_OPENISA_RV32M1_LPUART_UART_2_IRQ_PRI, rv32m1_lpuart_isr, DEVICE_GET(uart_2), 0); - irq_enable(DT_OPENISA_RV32M1_LPUART_UART_2_IRQ); + irq_enable(DT_OPENISA_RV32M1_LPUART_UART_2_IRQ_0); } #endif @@ -449,10 +449,10 @@ DEVICE_AND_API_INIT(uart_3, DT_OPENISA_RV32M1_LPUART_3_LABEL, #ifdef CONFIG_UART_INTERRUPT_DRIVEN static void rv32m1_lpuart_config_func_3(struct device *dev) { - IRQ_CONNECT(DT_OPENISA_RV32M1_LPUART_UART_3_IRQ, DT_OPENISA_RV32M1_LPUART_UART_3_IRQ_PRI, rv32m1_lpuart_isr, + IRQ_CONNECT(DT_OPENISA_RV32M1_LPUART_UART_3_IRQ_0, DT_OPENISA_RV32M1_LPUART_UART_3_IRQ_PRI, rv32m1_lpuart_isr, DEVICE_GET(uart_3), 0); - irq_enable(DT_OPENISA_RV32M1_LPUART_UART_3_IRQ); + irq_enable(DT_OPENISA_RV32M1_LPUART_UART_3_IRQ_0); } #endif diff --git a/drivers/serial/uart_sam0.c b/drivers/serial/uart_sam0.c index 26002cfc42..f4ea0006e4 100644 --- a/drivers/serial/uart_sam0.c +++ b/drivers/serial/uart_sam0.c @@ -912,11 +912,11 @@ static void uart_sam0_irq_config_##n(struct device *dev) #define UART_SAM0_IRQ_HANDLER(n) \ static void uart_sam0_irq_config_##n(struct device *dev) \ { \ - IRQ_CONNECT(DT_ATMEL_SAM0_UART_SERCOM_##n##_IRQ, \ - DT_ATMEL_SAM0_UART_SERCOM_##n##_IRQ_PRIORITY, \ + IRQ_CONNECT(DT_ATMEL_SAM0_UART_SERCOM_##n##_IRQ_0, \ + DT_ATMEL_SAM0_UART_SERCOM_##n##_IRQ_0_PRIORITY, \ uart_sam0_isr, DEVICE_GET(uart_sam0_##n), \ 0); \ - irq_enable(DT_ATMEL_SAM0_UART_SERCOM_##n##_IRQ); \ + irq_enable(DT_ATMEL_SAM0_UART_SERCOM_##n##_IRQ_0); \ } #else #define UART_SAM0_IRQ_HANDLER_DECL(n) diff --git a/drivers/spi/spi_mcux_lpspi.c b/drivers/spi/spi_mcux_lpspi.c index 773e7036b7..24fde146ba 100644 --- a/drivers/spi/spi_mcux_lpspi.c +++ b/drivers/spi/spi_mcux_lpspi.c @@ -293,10 +293,10 @@ DEVICE_AND_API_INIT(spi_mcux_0, DT_NXP_IMX_LPSPI_SPI_0_LABEL, &spi_mcux_init, static void spi_mcux_config_func_0(struct device *dev) { - IRQ_CONNECT(DT_NXP_IMX_LPSPI_SPI_0_IRQ, DT_NXP_IMX_LPSPI_SPI_0_IRQ_PRIORITY, + IRQ_CONNECT(DT_NXP_IMX_LPSPI_SPI_0_IRQ_0, DT_NXP_IMX_LPSPI_SPI_0_IRQ_0_PRIORITY, spi_mcux_isr, DEVICE_GET(spi_mcux_0), 0); - irq_enable(DT_NXP_IMX_LPSPI_SPI_0_IRQ); + irq_enable(DT_NXP_IMX_LPSPI_SPI_0_IRQ_0); } #endif /* SPI_0 */ @@ -322,10 +322,10 @@ DEVICE_AND_API_INIT(spi_mcux_1, DT_NXP_IMX_LPSPI_SPI_1_LABEL, &spi_mcux_init, static void spi_mcux_config_func_1(struct device *dev) { - IRQ_CONNECT(DT_NXP_IMX_LPSPI_SPI_1_IRQ, DT_NXP_IMX_LPSPI_SPI_1_IRQ_PRIORITY, + IRQ_CONNECT(DT_NXP_IMX_LPSPI_SPI_1_IRQ_0, DT_NXP_IMX_LPSPI_SPI_1_IRQ_0_PRIORITY, spi_mcux_isr, DEVICE_GET(spi_mcux_1), 0); - irq_enable(DT_NXP_IMX_LPSPI_SPI_1_IRQ); + irq_enable(DT_NXP_IMX_LPSPI_SPI_1_IRQ_0); } #endif /* SPI_1 */ @@ -351,10 +351,10 @@ DEVICE_AND_API_INIT(spi_mcux_2, DT_NXP_IMX_LPSPI_SPI_2_LABEL, &spi_mcux_init, static void spi_mcux_config_func_2(struct device *dev) { - IRQ_CONNECT(DT_NXP_IMX_LPSPI_SPI_2_IRQ, DT_NXP_IMX_LPSPI_SPI_2_IRQ_PRIORITY, + IRQ_CONNECT(DT_NXP_IMX_LPSPI_SPI_2_IRQ_0, DT_NXP_IMX_LPSPI_SPI_2_IRQ_0_PRIORITY, spi_mcux_isr, DEVICE_GET(spi_mcux_2), 0); - irq_enable(DT_NXP_IMX_LPSPI_SPI_2_IRQ); + irq_enable(DT_NXP_IMX_LPSPI_SPI_2_IRQ_0); } #endif /* SPI_2 */ @@ -380,9 +380,9 @@ DEVICE_AND_API_INIT(spi_mcux_3, DT_NXP_IMX_LPSPI_SPI_3_LABEL, &spi_mcux_init, static void spi_mcux_config_func_3(struct device *dev) { - IRQ_CONNECT(DT_NXP_IMX_LPSPI_SPI_3_IRQ, DT_NXP_IMX_LPSPI_SPI_3_IRQ_PRIORITY, + IRQ_CONNECT(DT_NXP_IMX_LPSPI_SPI_3_IRQ_0, DT_NXP_IMX_LPSPI_SPI_3_IRQ_0_PRIORITY, spi_mcux_isr, DEVICE_GET(spi_mcux_3), 0); - irq_enable(DT_NXP_IMX_LPSPI_SPI_3_IRQ); + irq_enable(DT_NXP_IMX_LPSPI_SPI_3_IRQ_0); } #endif /* CONFIG_SPI_3 */ diff --git a/drivers/spi/spi_nrfx_spi.c b/drivers/spi/spi_nrfx_spi.c index 6baf2a1c4b..df0d8d3726 100644 --- a/drivers/spi/spi_nrfx_spi.c +++ b/drivers/spi/spi_nrfx_spi.c @@ -275,7 +275,7 @@ static int init_spi(struct device *dev, const nrfx_spi_config_t *config) static int spi_##idx##_init(struct device *dev) \ { \ IRQ_CONNECT(NRFX_IRQ_NUMBER_GET(NRF_SPI##idx), \ - DT_NORDIC_NRF_SPI_SPI_##idx##_IRQ_PRIORITY, \ + DT_NORDIC_NRF_SPI_SPI_##idx##_IRQ_0_PRIORITY, \ nrfx_isr, nrfx_spi_##idx##_irq_handler, 0); \ const nrfx_spi_config_t config = { \ .sck_pin = DT_NORDIC_NRF_SPI_SPI_##idx##_SCK_PIN, \ diff --git a/drivers/spi/spi_nrfx_spim.c b/drivers/spi/spi_nrfx_spim.c index c2eb326262..6230f9781a 100644 --- a/drivers/spi/spi_nrfx_spim.c +++ b/drivers/spi/spi_nrfx_spim.c @@ -321,7 +321,7 @@ static int init_spim(struct device *dev, const nrfx_spim_config_t *config) static int spi_##idx##_init(struct device *dev) \ { \ IRQ_CONNECT(NRFX_IRQ_NUMBER_GET(NRF_SPIM##idx), \ - DT_NORDIC_NRF_SPI_SPI_##idx##_IRQ_PRIORITY, \ + DT_NORDIC_NRF_SPI_SPI_##idx##_IRQ_0_PRIORITY, \ nrfx_isr, nrfx_spim_##idx##_irq_handler, 0); \ const nrfx_spim_config_t config = { \ .sck_pin = DT_NORDIC_NRF_SPI_SPI_##idx##_SCK_PIN, \ diff --git a/drivers/spi/spi_nrfx_spis.c b/drivers/spi/spi_nrfx_spis.c index 52ec0c91cf..ea0e48607b 100644 --- a/drivers/spi/spi_nrfx_spis.c +++ b/drivers/spi/spi_nrfx_spis.c @@ -251,7 +251,7 @@ static int init_spis(struct device *dev, const nrfx_spis_config_t *config) static int spi_##idx##_init(struct device *dev) \ { \ IRQ_CONNECT(NRFX_IRQ_NUMBER_GET(NRF_SPIS##idx), \ - DT_NORDIC_NRF_SPIS_SPI_##idx##_IRQ_PRIORITY, \ + DT_NORDIC_NRF_SPIS_SPI_##idx##_IRQ_0_PRIORITY, \ nrfx_isr, nrfx_spis_##idx##_irq_handler, 0); \ const nrfx_spis_config_t config = { \ .sck_pin = DT_NORDIC_NRF_SPIS_SPI_##idx##_SCK_PIN, \ diff --git a/drivers/timer/rv32m1_lptmr_timer.c b/drivers/timer/rv32m1_lptmr_timer.c index 587e5ed737..7b9ee1578c 100644 --- a/drivers/timer/rv32m1_lptmr_timer.c +++ b/drivers/timer/rv32m1_lptmr_timer.c @@ -56,7 +56,7 @@ int z_clock_driver_init(struct device *unused) u32_t csr, psr, sircdiv; /* LPTMR registers */ ARG_UNUSED(unused); - IRQ_CONNECT(DT_OPENISA_RV32M1_LPTMR_SYSTEM_LPTMR_IRQ, + IRQ_CONNECT(DT_OPENISA_RV32M1_LPTMR_SYSTEM_LPTMR_IRQ_0, SYSTEM_TIMER_IRQ_PRIO, lptmr_irq_handler, NULL, 0); if ((SCG->SIRCCSR & SCG_SIRCCSR_SIRCEN_MASK) == SCG_SIRCCSR_SIRCEN(0)) { @@ -122,7 +122,7 @@ int z_clock_driver_init(struct device *unused) * Enable interrupts and the timer. There's no need to clear the * TFC bit in the csr variable, as it's already clear. */ - irq_enable(DT_OPENISA_RV32M1_LPTMR_SYSTEM_LPTMR_IRQ); + irq_enable(DT_OPENISA_RV32M1_LPTMR_SYSTEM_LPTMR_IRQ_0); csr = SYSTEM_TIMER_INSTANCE->CSR; csr |= LPTMR_CSR_TEN(1); SYSTEM_TIMER_INSTANCE->CSR = csr; diff --git a/drivers/usb/device/usb_dc_nrfx.c b/drivers/usb/device/usb_dc_nrfx.c index e3a3edcd8c..a64f4b20dd 100644 --- a/drivers/usb/device/usb_dc_nrfx.c +++ b/drivers/usb/device/usb_dc_nrfx.c @@ -1306,8 +1306,8 @@ int usb_dc_attach(void) k_work_init(&ctx->usb_work, usbd_work_handler); k_mutex_init(&ctx->drv_lock); - IRQ_CONNECT(DT_NORDIC_NRF_USBD_USBD_0_IRQ, - DT_NORDIC_NRF_USBD_USBD_0_IRQ_PRIORITY, + IRQ_CONNECT(DT_NORDIC_NRF_USBD_USBD_0_IRQ_0, + DT_NORDIC_NRF_USBD_USBD_0_IRQ_0_PRIORITY, nrfx_isr, nrfx_usbd_irq_handler, 0); err = nrfx_usbd_init(usbd_event_handler); diff --git a/drivers/watchdog/wdt_nrfx.c b/drivers/watchdog/wdt_nrfx.c index f0f9c64abb..4ee75f1972 100644 --- a/drivers/watchdog/wdt_nrfx.c +++ b/drivers/watchdog/wdt_nrfx.c @@ -162,10 +162,10 @@ static int init_wdt(struct device *dev) return -EBUSY; } - IRQ_CONNECT(DT_NORDIC_NRF_WATCHDOG_WDT_0_IRQ, - DT_NORDIC_NRF_WATCHDOG_WDT_0_IRQ_PRIORITY, + IRQ_CONNECT(DT_NORDIC_NRF_WATCHDOG_WDT_0_IRQ_0, + DT_NORDIC_NRF_WATCHDOG_WDT_0_IRQ_0_PRIORITY, nrfx_isr, nrfx_wdt_irq_handler, 0); - irq_enable(DT_NORDIC_NRF_WATCHDOG_WDT_0_IRQ); + irq_enable(DT_NORDIC_NRF_WATCHDOG_WDT_0_IRQ_0); return 0; }