How to know which pin is configured for GPIO interrupt

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to know which pin is configured for GPIO interrupt

1,089 次查看
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

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

1,070 次查看
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 项奖励
回复