This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于AM335X的串口驱动的疑问



对于串口驱动我有以下疑问:
我在AM335X的打印信息里面看到以下打印信息:
omap_uart.0: ttySAC0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
console [ttyO0] enabled
omap_uart.1: ttySAC1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
omap_uart.2: ttySAC2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
omap_uart.3: ttySAC3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
omap_uart.4: ttySAC4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
omap_uart.5: ttySAC5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
说明AM335X 已经使能了6个串口功能。然后我去找相应的配置发现
在board-am335xevm.c文件的数组embedsky_evm_dev_cfg[]中初始化了{uart1_wl12xx_init,    DEV_ON_BASEBOARD, (PROFILE_0 | PROFILE_3 |
 PROFILE_5)}和{uart2_init,    DEV_ON_DGHTR_BRD, PROFILE_3}这里只有2个设备(没有与打印信息中的6个设备相符)而且也没有对寄存器映射方面的内容,这样的话如何去设置串口的寄存器呢?打印信息中的ttySAC如何去对于相应的串口号呢?