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?
Solved! Go to Solution.
Please refer to Chapter 2 (Configuring the IOMUX Controller)
of "i.MX_6_BSP_Porting_Guide.pdf". Also, "for details, see:
Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt
Documentation/devicetree/bindings/pinctrl/fsl,imx6*-pinctrl.txt"
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Please refer to Chapter 2 (Configuring the IOMUX Controller)
of "i.MX_6_BSP_Porting_Guide.pdf". Also, "for details, see:
Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt
Documentation/devicetree/bindings/pinctrl/fsl,imx6*-pinctrl.txt"
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------