
Haavard Skinnemoen haavard.skinnemoen@atmel.com wrote:
Newer Atmel chips (post-AT91SAM9261; including AT91SAM9260 and all AVR32 chips) have a "Fractional Part" bitfield in BRGR that allows more precise baud rate generation. Use this field to make the USART work on lower clock frequencies, for example when not using the PLL, on chips that support it.
Signed-off-by: Haavard Skinnemoen haavard.skinnemoen@atmel.com
Hmm...I think I'm gonna drop this one since it confuses the Linux driver. It tries to come up with a default baud rate by looking at the BRGR register, but it interprets the FP field as part of the divider, so it will end up at a rate that is way too low.
I'll post a patch to fix the Linux driver, but we shouldn't modify u-boot until the fix has been in mainline for a while.
Haavard