linux_dsm_epyc7002/arch/mips/loongson/common
Huacai Chen 7546d2f48d MIPS: Loongson 3: Add serial port support
Loongson family machines has three types of serial port: PCI UART, LPC
UART and CPU internal UART. Loongson-2E and parts of Loongson-2F based
machines use PCI UART; most Loongson-2F based machines use LPC UART;
Loongson-2G/3A has both LPC and CPU UART but usually use CPU UART.

Port address of UARTs:
CPU UART: REG_BASE + OFFSET;
LPC UART: LIO1_BASE + OFFSET;
PCI UART: PCIIO_BASE + OFFSET.

Since LPC UART are linked in "Local Bus", both CPU UART and LPC UART
are called "CPU provided serial port".

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Hongliang Tao <taohl@lemote.com>
Signed-off-by: Hua Yan <yanh@lemote.com>
Tested-by: Alex Smith <alex.smith@imgtec.com>
Reviewed-by: Alex Smith <alex.smith@imgtec.com>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/6635
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-03-31 18:17:12 +02:00
..
cs5536 MIPS: Loongson: Fix random early boot hang 2013-06-21 18:07:01 +02:00
bonito-irq.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
cmdline.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
early_printk.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
env.c MIPS: Loongson: Add UEFI-like firmware interface (LEFI) support 2014-03-31 18:17:12 +02:00
gpio.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
init.c MIPS: Loongson: Add UEFI-like firmware interface (LEFI) support 2014-03-31 18:17:12 +02:00
irq.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
machtype.c MIPS: Loongson 3: Add Lemote-3A machtypes definition 2014-03-31 18:17:12 +02:00
Makefile MIPS: Loongson: Hide the pci code behind CONFIG_PCI 2013-09-03 15:27:39 +02:00
mem.c MIPS: Loongson: Add UEFI-like firmware interface (LEFI) support 2014-03-31 18:17:12 +02:00
pci.c MIPS: Loongson: Add UEFI-like firmware interface (LEFI) support 2014-03-31 18:17:12 +02:00
platform.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
pm.c suspend: constify platform_suspend_ops 2010-11-16 14:14:02 +01:00
reset.c MIPS: Loongson: Add UEFI-like firmware interface (LEFI) support 2014-03-31 18:17:12 +02:00
rtc.c MIPS: Loongson: Define rtc device on MC146818-equipped systems 2010-07-05 17:17:32 +01:00
serial.c MIPS: Loongson 3: Add serial port support 2014-03-31 18:17:12 +02:00
setup.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
time.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
uart_base.c MIPS: Loongson 3: Add serial port support 2014-03-31 18:17:12 +02:00