Skip to contentSkip to conversation

timer: sifive_clint: Add GHRTv2 compaible string

PATCH New Jimmy Ho 1 participant 1 message Oct 13, 2025 RISC-V

lore
Share & tools
lore

Jimmy Ho

author
#0 lore raw

PATCH v2 1/1 timer: sifive_clint: Add GHRTv2 compaible string

The current sifive_clint driver can fully support GHRTv2 clint. Add the compatible of GHRTv2 clint, sifive,clint2, to sifive_clint_ids list.

---
 drivers/timer/riscv_aclint_timer.c | 1 +
 1 file changed, 1 insertion(+)
drivers/timer/riscv_aclint_timer.c +1 -0
index 35da1ea2fd2..175956bcfd3 100644
@@ -83,6 +83,7 @@ static int riscv_aclint_timer_probe(struct udevice *dev)
 static const struct udevice_id riscv_aclint_timer_ids[] = {
 	{ .compatible = "riscv,clint0", .data = CLINT_MTIME_OFFSET },
 	{ .compatible = "sifive,clint0", .data = CLINT_MTIME_OFFSET },
+	{ .compatible = "sifive,clint2", .data = CLINT_MTIME_OFFSET },
 	{ .compatible = "riscv,aclint-mtimer", .data = ACLINT_MTIME_OFFSET },
 	{ }
 };
Signature · 1 line
2.39.3