i.MX8MMini: connect UART2 to SAI3 Pins

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

i.MX8MMini: connect UART2 to SAI3 Pins

1,499 次查看
elmaralbert
Contributor I

On our new board with i.MX8MMini, we need to use the pins originally used for UART2 (Linux console) for an SPI-Interface. According to the iMX8MMini reference manual, the UART2 RXD and TXD can be connected to the pins SAI3_TXFS and SAI3_TXC. But in the file .../dt-bindings/pinctrl/pins-imx8mm.h the respective defines are missing.

So my question:

Were these defines only forgotten to add an this can simply be done? This is what I expect.

Or:

Will it not be possible to switch the UART2 to the SAI3 pins? Which I hope is not the case.

Please give me a short hint.

Thank you in advance and best regards

Elmar Albert

标签 (1)
0 项奖励
回复
3 回复数

1,310 次查看
elmaralbert
Contributor I

Hi Weidong,

thank you for your response. This is what I expected!

Best regards

Elmar

0 项奖励
回复

1,310 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hi Elmar,

  You are welcome!

Have a nice day!

BR,

weidong

0 项奖励
回复

1,310 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hi Elma,

      You can add them to pins-imx8mm.h according to imx8mm_pins.h in u-boot ( arch/arm/include/asm/arch-imx8m/imx8mm_pins.h) by yourself.

 

see below, please!

 

MX8MM_IOMUXC_SAI3_TXFS_UART2_RXD               0x01D8 0x0440 0x4 0x2
MX8MM_IOMUXC_SAI3_TXC_UART2_TXD                 0x01DC 0x0444 0x4 0x0

Have a nice day!

BR,

Weidong

0 项奖励
回复