Set Input pin to PULL-UP

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

Set Input pin to PULL-UP

789 次查看
Chayma
Contributor III
Hello, I am working on IMX8M mini EVK. I would like to know how to set a GPIO pin to INPUT and PULL-UP. Thank you.
0 项奖励
1 回复

783 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Chayma

 

one can look at documentation

https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/pinctrl/...

for example MX8MM_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140, value 0x140 is described in

sect.8.2.5.291 Pad Control Register (IOMUXC_SW_PAD_CTL_PAD_UART1_RXD)

i.MX 8M Mini Applications Processor Reference Manual

Direction can be set in uboot.

 

Best regards
igor

0 项奖励