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
Please check this in the iMX6 datasheet, the datasheet will list all pinctl selection.
You also need configure pinctl node about this gpio.