How to know which pin is configured for GPIO interrupt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to know which pin is configured for GPIO interrupt

716件の閲覧回数
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 返信

697件の閲覧回数
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 件の賞賛
返信