Tool/software:
Hi,
My project is using AM6251 SoC and we have to support baud rate 1333000 bps on UART5 from *Linux* kernel. The Linux version is 11 and I think it should came from TI's SDK. I've found some forum articles talking about how to support 1333000 (1.333 MHz) bps, but thoese are for MCU + SDK not for Linux.
Per my understanding, a might working solution would be changing the UART5_CLK_CTRL from its default value /4 to /1, then the fclk feeding into the UART5 would become 192 MHz / 1 = 192 MHz instead of the default 48 MHz. With the new fclk = 192 MHz, using the divisor = 9 and mode = 16x, it should produce 192 MHz / 16 / 9 = 1.333 MHz.
But I have no idea how to archive this in Linux. I checked the 8250_omap.c UART driver soruce code but have not found a clue conducting the Linux kernel, perhaps by adding some attributes in the device tree, to change the UART5_CLK_CTRL value.
Please be kindly to sort us out.
Kr,
woody