Max3107 & DeviceTree

Hi, I wanted to know how to config the interrupt gpio to the GPIO 1_0 ?

I have this :

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

status = “okay”;
clock-frequency = <400000>;

max3107: max3107@0 {
compatible = “maxim,max3107”;
reg = <0>;
interrupt-parent = <&gpio1 0>;
interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
gpio-controller;
};
};

What should I put to the the line :
interrupt-parent =

interrupts =

Thanks you,

3.8 or 4.1+?

Regards,

Sorry,

4.1 :slight_smile:

Then GPIO 1_0

Should be:

interrupt-parent = <&gpio1>;
interrupts = <0 IRQ_TYPE_EDGE_FALLING>;

Regards,