AnsweredAssumed Answered

How can I set IOMUX Pin for using gpio?

Question asked by chester kang on Jun 22, 2015
Latest reply on Jun 22, 2015 by Yuri Muhin

Dear Community

 

How can I set IOMUX Pin for using gpio(Pull up)?

Actually I try to change dts like below but it's not work.

I want to use checking MDM status pin of GPIO5_28.

So I add Pin control as below

 

Mux Setting Pin : CSI0_DAT10

arch/arm/boot/dts/imx6q-pinfunc.h:803:#define MX6QDL_PAD_CSI0_DAT10__GPIO5_IO28           0x280 0x650 0x000 0x5 0x0

 

Control Setting Pin

--- a/arch/arm/boot/dts/imx6qdl.dtsi

+++ b/arch/arm/boot/dts/imx6qdl.dtsi

@@ -1602,6 +1602,12 @@

                                MX6QDL_PAD_RGMII_RXC__USB_H3_STROBE 0x40017030

                        >;

                };

+              

+               pinctrl_usbh3_3: usbh3grp-3 {

+                        fsl,pins = <

+                               MX6QDL_PAD_CSI0_DAT10__GPIO5_IO28    0x1b0b1

+                        >;

+                };

        };

 

Could you share What i do to use it?

Outcomes