AnsweredAssumed Answered

How to set gpio4_IO15 as interrupt in the imx6ul

Question asked by chaocheng do on May 10, 2018
Latest reply on May 11, 2018 by igorpadykov

I am trying set MCU gpio4_IO15(NAND_CLE) as interrupt pin.
Now I modify the .dts file firstly but kernel code donot modify yet.
I type "cat /proc/interrupts" to see but it does not show my device information.
Can I check the proc/interrupts inforamtion if correct without kernel code modified ?
Please help to check my dts if correct ?


compatible = "fsl,imx6ul-inttest";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_inttest>;
gpios = <&gpio4 15 0>;
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; <--actually I donot know how to put second number 13, i use 13 beacuse unused
interrupt-parent = <&gpio4>;

pinctrl_inttest: inttest {
fsl,pins =<
MX6UL_PAD_NAND_CLE__GPIO4_IO15 0x80000000


attached file is my setting