From 9c02e50fa10982a9500503a0075307179d481388 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Sat, 27 Mar 2021 19:57:35 +0800 Subject: [PATCH] timer: sifive_clint: Support the official clint DT bindings Linux kernel commit a2770b57d083 ("dt-bindings: timer: Add CLINT bindings") adds the official DT bindings for CLINT, which uses "sifive,clint0" as the compatible string. "riscv,clint0" is now legacy and has to be kept for backward compatibility of legacy systems. Signed-off-by: Bin Meng Reviewed-by: Leo Yu-Chi Liang --- drivers/timer/sifive_clint_timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/timer/sifive_clint_timer.c b/drivers/timer/sifive_clint_timer.c index de7b4b95c9..939b99d937 100644 --- a/drivers/timer/sifive_clint_timer.c +++ b/drivers/timer/sifive_clint_timer.c @@ -54,6 +54,7 @@ static int sifive_clint_probe(struct udevice *dev) static const struct udevice_id sifive_clint_ids[] = { { .compatible = "riscv,clint0" }, + { .compatible = "sifive,clint0" }, { } }; -- 2.39.5