Skip to content

Commit

Permalink
lib: utils/serial: Support Synopsys DesignWare APB UART
Browse files Browse the repository at this point in the history
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 <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
  • Loading branch information
lbmeng authored and avpatel committed May 19, 2021
1 parent f90c4c2 commit e822b75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils/serial/fdt_serial_uart8250.c
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
{ },
};

Expand Down

0 comments on commit e822b75

Please sign in to comment.