UART2_TX / GP142 4800 2170[15:0] MODEL1是TX功能
UART2_RX / GP143 4800 2170[31:16] MODEL1是RX功能
arch/arm/mach-omap2/mux.c:
MUX_CFG_34XX("GP142_UART2_TX", 0x170,
OMAP34XX_MUX_MODE1 | OMAP34XX_PIN_OUTPUT) /* GP142 UART2_TX */
MUX_CFG_34XX("GP143_UART2_RX", 0x172,
OMAP34XX_MUX_MODE1 | OMAP34XX_PIN_INPUT) /* GP143 UART2_RX */
arch/arm/plat-omap/include/mach/mux.h:
GP142_UART2_TX,
GP14333_UART2_RX,
arch/arm/mach-omap2/board-omap3evm.c:
/* for UART2 */
omap_cfg_reg(GP142_UART2_TX);
omap_cfg_reg(GP143_UART2_RX);
阅读(2266) | 评论(1) | 转发(2) |