summaryrefslogtreecommitdiffstats
path: root/sys/mips/atheros/uart_cpu_ar933x.c
Commit message (Collapse)AuthorAgeFilesLines
* Use the UART frequency when programming the UART clock.adrian2013-07-211-1/+1
| | | | | This allows the 16550 support to work correctly on the upcoming AR934x support.
* For the AR933x UART, the serial clock is not the AHB clock, it's theadrian2013-03-291-1/+1
| | | | reference clock. So use that instead.
* Bring over the initial, CPU-only UART support for the AR933x SoC.adrian2013-03-281-0/+78
This implements the kernel glue needed (getc, putc, rxready). This isn't a 16550 UART, even if the datasheet overview claims so. The Linux ar933x support was used as a reference, however the uart code is a reimplementation. Attentive viewers will note that the uart code is based off of the ns8250 code and the UART bus code is a stubbed-out version of this. I'll be replacing it with non-stubbed versions soon, making this a fully featured driver. Tested: * AP121 reference board (AR933x), booting through the mountroot> prompt; then doing some basic interactive tests in ddb.
OpenPOWER on IntegriCloud