1#
2# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
3# Copyright 2020, HENSOLDT Cyber GmbH
4#
5# SPDX-License-Identifier: GPL-2.0-only
6#
7
8cmake_minimum_required(VERSION 3.7.2)
9
10register_driver(
11    compatibility_strings "brcm,bcm2835-aux-uart"
12    PREFIX src/drivers/serial
13    CFILES "bcm2835-aux-uart.c"
14)
15register_driver(compatibility_strings "arm,pl011" PREFIX src/drivers/serial CFILES "pl011.c")
16register_driver(
17    compatibility_strings "nvidia,tegra20-uart;ti,omap3-uart;snps,dw-apb-uart"
18    PREFIX src/drivers/serial
19    CFILES "tegra_omap3_dwapb.c"
20)
21register_driver(
22    compatibility_strings "fsl,imx6q-uart;fsl,imx6sx-uart"
23    PREFIX src/drivers/serial
24    CFILES "imx.c"
25)
26register_driver(
27    compatibility_strings "fsl,imx8qxp-lpuart"
28    PREFIX src/drivers/serial
29    CFILES "imx-lpuart.c"
30)
31register_driver(
32    compatibility_strings "samsung,exynos4210-uart"
33    PREFIX src/drivers/serial
34    CFILES "exynos4210-uart.c"
35)
36register_driver(
37    compatibility_strings "qcom,msm-uartdm"
38    PREFIX src/drivers/serial
39    CFILES "msm-uartdm.c"
40)
41register_driver(compatibility_strings "xlnx,xuartps" PREFIX src/drivers/serial CFILES "xuartps.c")
42register_driver(
43    compatibility_strings "amlogic,meson-gx-uart"
44    PREFIX src/drivers/serial
45    CFILES "meson-gx-uart.c"
46)
47