我用的是i.mx8mm的芯片,请问如何把GPIO4.IO[25]引脚配置为输入模式,我看了Linux内核源码中的dt-bindings/pinctrl.h的文件中有如下图宏定义,我知道第三个0x000是输入寄存器的偏移地址,然后最后一个值0x0应该是对这个寄存器的写入的值,请问这个引脚可以被配置为输入模式吗?
hi @yongyang
please use the follow link:
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8-serials-GPIO-input-and-output-sett...
B.R
Hii. @yongyang
Which dtb file do you use? You can refer to the link below to set it up.
https://community.nxp.com/t5/iMX-and-Vybrid-Support/i-MX8MN-GPIO-Configuration-in-Linux/m-p/1678841