follow is uart2 iomux and configuration:
in arch/arm/plat-mxc/include/mach/iomux-mx53.h
#define MX53_PAD_EIM_D26__UART2_TXD_MUX | (_MX53_PAD_EIM_D26__UART2_TXD_MUX | MUX_PAD_CTRL(NO_PAD_CTRL)) |
#define MX53_PAD_EIM_D27__UART2_RXD_MUX | (_MX53_PAD_EIM_D27__UART2_RXD_MUX | MUX_PAD_CTRL(NO_PAD_CTRL)) |
in arch/arm/mach-mx5/serial.h
/* UART 2 configuration */
#define UART2_UCR4_CTSTL -1
#define UART2_DMA_ENABLE 0
#define UART2_DMA_RXBUFSIZE 512
#define UART2_UFCR_RXTL 16
#define UART2_UFCR_TXTL 16
and i sure that EIM_D27 not be Pin mux to other function in kernel sourec.
and URAT1 UART3 UART4 UART5 is ok;but UART2 is not work normal.
解決済! 解決策の投稿を見る。
#define __MX53_PAD_EIM_D27__UART2_RXD_MUX IOMUX_PAD(0x490,0x148,2,0x880,1,0)
#define __MX53_PAD_EIM_D26__UART2_RXD_MUX IOMUX_PAD(0x48c,0x144,2,0x880,0,0)
#define __MX53_PAD_EIM_D27__UART2_RXD_MUX IOMUX_PAD(0x490,0x148,2,0x880,1,0)
#define __MX53_PAD_EIM_D26__UART2_RXD_MUX IOMUX_PAD(0x48c,0x144,2,0x880,0,0)
Hello,Pan,
Please paste all iomux pins(iomux structure) here , let me see .
weidong
thank you ! I solved the problem.
ok Pan,
good job !
weidong