Enable UART support for Xilinx Ultrascale+ SoCs

Xilinx Ultrascale+ are based on Cortex-A53 and use existing
UART driver (uart_dev_cdnc). Enable it in arm64 GENERIC config.

Submitted by: Michal Stanek <mst@semihalf.com>
Obtained from: Semihalf
This commit is contained in:
Marcin Wojtas 2018-07-13 19:54:22 +00:00
parent a869c2bf22
commit ab53b2929f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336259
4 changed files with 5 additions and 0 deletions

View File

@ -711,6 +711,8 @@ static struct uart_class uart_cdnc_class = {
static struct ofw_compat_data compat_data[] = {
{"cadence,uart", (uintptr_t)&uart_cdnc_class},
{"cdns,uart-r1p12", (uintptr_t)&uart_cdnc_class},
{"xlnx,xuartps", (uintptr_t)&uart_cdnc_class},
{NULL, (uintptr_t)NULL},
};
UART_FDT_CLASS_AND_DEVICE(compat_data);

View File

@ -106,6 +106,7 @@ options SOC_CAVM_THUNDERX
options SOC_HISI_HI6220
options SOC_BRCM_BCM2837
options SOC_ROCKCHIP_RK3328
options SOC_XILINX_ZYNQ
# Annapurna Alpine drivers
device al_ccu # Alpine Cache Coherency Unit

View File

@ -87,6 +87,7 @@ arm/broadcom/bcm2835/bcm2835_wdog.c optional soc_brcm_bcm2837 fdt
arm/broadcom/bcm2835/bcm2836.c optional soc_brcm_bcm2837 fdt
arm/broadcom/bcm2835/bcm283x_dwc_fdt.c optional dwcotg fdt soc_brcm_bcm2837
arm/mv/armada38x/armada38x_rtc.c optional mv_rtc fdt
arm/xilinx/uart_dev_cdnc.c optional uart soc_xilinx_zynq
arm64/acpica/acpi_machdep.c optional acpi
arm64/acpica/OsdEnvironment.c optional acpi
arm64/acpica/acpi_wakeup.c optional acpi

View File

@ -20,3 +20,4 @@ SOC_BRCM_BCM2837 opt_soc.h
SOC_CAVM_THUNDERX opt_soc.h
SOC_HISI_HI6220 opt_soc.h
SOC_ROCKCHIP_RK3328 opt_soc.h
SOC_XILINX_ZYNQ opt_soc.h