Interrupt & DeviceTree

Hi,

I wanted to know if it’s possible put the same GPIO as an interrupt GPIO for different purpose :

GPIO1_0 :

&i2c1 {

pinctrl-names = “default”;
pinctrl-0 = <&i2c1_pins>;

status = “okay”;

clock-frequency = <400000>;

max3107: max3107@0 {

compatible = “maxim,max3107”;
reg = <0>;
interrupt-parent = <&gpio1>;
interrupts = <0 IRQ_TYPE_EDGE_RISING>;

gpio-controller;

};

mma8452: mma8452@1d {

compatible = “fsl,mma8452”;

reg = <0x1d>;

interrupt-parent = <&gpio1>;

interrupts = <0 IRQ_TYPE_EDGE_RISING>;

gpio-controller;

};
};