[PATCH v3 2/2] lib: utils/timer: mtimer: add MIPS P8700 compatible

Benoît Monin benoit.monin at bootlin.com
Fri Nov 7 02:46:58 PST 2025


The MTIMER of the MIPS P8700 is compliant with the ACLINT specification,
so add a compatible string for it.

Signed-off-by: Benoît Monin <benoit.monin at bootlin.com>
---
 lib/utils/timer/fdt_timer_mtimer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/utils/timer/fdt_timer_mtimer.c b/lib/utils/timer/fdt_timer_mtimer.c
index 1f29f3a2..d5520fad 100644
--- a/lib/utils/timer/fdt_timer_mtimer.c
+++ b/lib/utils/timer/fdt_timer_mtimer.c
@@ -157,6 +157,7 @@ static const struct timer_mtimer_quirks thead_aclint_quirks = {
 };
 
 static const struct fdt_match timer_mtimer_match[] = {
+	{ .compatible = "mips,p8700-aclint-mtimer" },
 	{ .compatible = "riscv,clint0", .data = &sifive_clint_quirks },
 	{ .compatible = "sifive,clint0", .data = &sifive_clint_quirks },
 	{ .compatible = "sifive,clint2", .data = &sifive_clint_quirks },

-- 
2.51.1




More information about the opensbi mailing list