summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMayuresh Chitale <mchitale@ventanamicro.com>2023-03-01 17:38:00 +0300
committerAnup Patel <anup@brainfault.org>2023-03-09 18:42:35 +0300
commit506144f398b7911a2395d127fb6a64082a4a79cc (patch)
treedf4efcca5095d719833c7bbff4b0b06978d3f68f
parent568ea49490d935e01b9a41ef8bb5daf9cb0ef201 (diff)
downloadopensbi-506144f398b7911a2395d127fb6a64082a4a79cc.tar.xz
lib: serial: Cadence: Enable compatibility for cdns,uart-r1p8
The Cadence driver does not use the RX byte status feature and hence can be advertised to be compatible with cdns,uart-r1p8 as well. Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com> Reviewed-by: Anup Patel <anup@brainfault.org>
-rw-r--r--lib/utils/serial/fdt_serial_cadence.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/serial/fdt_serial_cadence.c b/lib/utils/serial/fdt_serial_cadence.c
index 946e533..ae59e4c 100644
--- a/lib/utils/serial/fdt_serial_cadence.c
+++ b/lib/utils/serial/fdt_serial_cadence.c
@@ -24,6 +24,7 @@ static int serial_cadence_init(void *fdt, int nodeoff,
}
static const struct fdt_match serial_cadence_match[] = {
+ { .compatible = "cdns,uart-r1p8", },
{ .compatible = "cdns,uart-r1p12" },
{ .compatible = "starfive,jh8100-uart" },
{ },