How to know which pin is configured for GPIO interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to know which pin is configured for GPIO interrupt

713 Views
yangao
Contributor III

Hi,

We are using iMX6 and configured a GPIO interrupt in devicetree as below. How to know which pin is configured to be the GPIO?

&i2c3 {
  /* Connected to clock, psoc on core */
  clock-frequency = <100000>;
  pinctrl-names = "default";
  pinctrl-0 = <&pinctrl_i2c3>;
  status = "okay";
  psoc: psoc@55 {
    compatible = "fsl,mytestboard";
    reg = <0x55>;
    busy-gpio = <&gpio1 3 0>;
  };
};

Thanks,

Winston

Labels (1)
Tags (2)
0 Kudos
Reply
1 Reply

694 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please check this in the iMX6 datasheet, the datasheet will list all pinctl selection.

You also need configure pinctl node about this gpio.

0 Kudos
Reply