Interrput line number configuration nRF5340

Hi, 

I faced some issues regarding multiple IRQ_CONNECT being onvoked on the same irq and I went into this post : 

LPUART nRF5340 fatal error - Nordic Q&A - Nordic DevZone - Nordic DevZone (nordicsemi.com)

Does it means that any <PERIPHERAL>X interrput can be re-routed to any <PERIPHERAL>Y line? 

For instance, I use TWIM0, and I assume following code is not valid : 

&i2c0 {
    compatible = "nordic,nrf-twim";
    status = "okay";
    pinctrl-0 = <&i2c0_default>;
    pinctrl-1 = <&i2c0_sleep>;
    pinctrl-names = "default", "sleep";
    // re-route to TWIM1 interrupt
    interrputs: <9 5>
};
What about replace &i2c0 by &i2c? I would need some clarification on this point, as the post doesn't really explain why moving GPIOTE0 interrupt line to GPIOTE1's one works.
Thank you in advance
Parents Reply Children
No Data
Related