9 #include <linux/module.h>
12 #include <linux/serial.h>
15 #include <linux/tty.h>
27 if (offset ==
UART_IIR && (rv & 0xf) == 7) {
63 up.port.dev = &pdev->
dev;
67 up.port.uartclk = 115200 * 16;
76 if (res_mem ==
NULL) {
77 dev_err(&pdev->
dev,
"found no memory resource\n");
80 up.port.mapbase = res_mem->
start;
85 return res >= 0 ? 0 :
res;
90 .compatible =
"cavium,octeon-3860-uart",
97 .probe = octeon_serial_probe,
100 .name =
"octeon_serial",
101 .of_match_table = octeon_serial_match,
105 static int __init octeon_serial_init(
void)