diff options
| author | Bin Meng <[email protected]> | 2021-05-14 09:16:13 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2021-05-19 13:03:19 +0530 |
| commit | e822b7504df0583a6a227d51cb7da8ea9fc79c0a (patch) | |
| tree | 336012b6853ffe2e1ba1a85dcf3f0f31821ddbe2 /lib/utils | |
| parent | f90c4c2e0298a6a6e7ade87bf1b704a3a07aa7b9 (diff) | |
lib: utils/serial: Support Synopsys DesignWare APB UART
Synopsys DesignWare APB UART is seen on the StarFive JH7100 SoC.
Its programming interface is compatible with the existing 8250
UART driver. Simply add its compatible string to the driver makes
it work with the StarFive JH7100 SoC on a BeagleV board.
With this patch, the generic platform firmware can be used out of
the box on the BeagleV board.
Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils')
| -rw-r--r-- | lib/utils/serial/fdt_serial_uart8250.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/serial/fdt_serial_uart8250.c b/lib/utils/serial/fdt_serial_uart8250.c index 918193ae..36f364cf 100644 --- a/lib/utils/serial/fdt_serial_uart8250.c +++ b/lib/utils/serial/fdt_serial_uart8250.c @@ -28,6 +28,7 @@ static int serial_uart8250_init(void *fdt, int nodeoff, static const struct fdt_match serial_uart8250_match[] = { { .compatible = "ns16550" }, { .compatible = "ns16550a" }, + { .compatible = "snps,dw-apb-uart" }, { }, }; |
