Hi,
I'm using i.MX8 evk - imx8mn and I want to define a gpio as input interrupt for gpio3 controller.
the original node of gpio3 is:
gpio3: gpio@30220000 {
compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
reg = <0x30220000 0x10000>;
interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MN_CLK_GPIO3_ROOT>;
gpio-controller; #gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
gpio-ranges = <&iomuxc 0 61 26>;
};
The pin I would like to use is gpio24: MX8MN_IOMUXC_SAI5_RXD3_GPIO3_IO24, and I don't know how to add it.
Can you please help?
Thank you,
Hi,
Thank you, but I doesn't help - or maybe I'm missing something?
I'm looking for the the DT text I need to add:
e.g.
You can refer to iMX8MN Reference Manual in section Chapter 8 Chip IO and Pinmux > General Purpose Input/Output (GPIO) > Interrupt Control Unit.