Pin muxing

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

Pin muxing

跳至解决方案
325 次查看
Rabiraj
Contributor I

Hi,
I am using I.MX8M plus based SOC.
In that I wan to use a particular pin for GPIO purpose.
From I.MX8M plus application note document from NXP website, I am able to see in chapter 8, section 8.1 External signals and pin multiplexing .
Page number 1295 , in that port names : HDMI_HPD and HDMI_HPD_O
Are the two pins I am trying to reuse.
How can I find, these pins are connected which GPIO number?
Because I wan to edit my DTS file, 
Can you please help me on this ?

0 项奖励
回复
1 解答
299 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Rabiraj 

You can search in arch/arm64/boot/dts/freescale/imx8mp-pinfunc.h

For example, you can reuse HDMI_HPD pad as GPIO3_IO29

 

#define MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD                      0x24C 0x4AC 0x000 0x0 0x0
#define MX8MP_IOMUXC_HDMI_HPD__AUDIOMIX_HDMI_HPD_O                   0x24C 0x4AC 0x000 0x1 0x0
#define MX8MP_IOMUXC_HDMI_HPD__I2C6_SDA                              0x24C 0x4AC 0x5D0 0x3 0x3
#define MX8MP_IOMUXC_HDMI_HPD__CAN2_RX                               0x24C 0x4AC 0x550 0x4 0x3
#define MX8MP_IOMUXC_HDMI_HPD__GPIO3_IO29                            0x24C 0x4AC 0x000 0x5 0x0

 

在原帖中查看解决方案

1 回复
300 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Rabiraj 

You can search in arch/arm64/boot/dts/freescale/imx8mp-pinfunc.h

For example, you can reuse HDMI_HPD pad as GPIO3_IO29

 

#define MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD                      0x24C 0x4AC 0x000 0x0 0x0
#define MX8MP_IOMUXC_HDMI_HPD__AUDIOMIX_HDMI_HPD_O                   0x24C 0x4AC 0x000 0x1 0x0
#define MX8MP_IOMUXC_HDMI_HPD__I2C6_SDA                              0x24C 0x4AC 0x5D0 0x3 0x3
#define MX8MP_IOMUXC_HDMI_HPD__CAN2_RX                               0x24C 0x4AC 0x550 0x4 0x3
#define MX8MP_IOMUXC_HDMI_HPD__GPIO3_IO29                            0x24C 0x4AC 0x000 0x5 0x0