to make gpio as a interrupt what is the exact device tree notation I have to use.
I am using imx6ulevk board and i want to make GPIO3 22 pin as Interrupt.
these two lines are enough ??
interrupt-parent = <&gpio3>;
interrupts = <22 8>;
where to add these lines in dts file??
and one more doubt what is thee difference between interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH> this line is mentioned in dtsi file and interrupt-parent = <&gpio5>; interrupts = <0 8> these lines are mentioned in dts file.