summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoît Monin <[email protected]>2025-11-07 11:46:58 +0100
committerAnup Patel <[email protected]>2025-11-10 13:41:53 +0530
commit2e9dc3b430eed4bc7077b4452b603f2e7b33553d (patch)
tree5c3031c5ea741122c5b4a5e02a2f8eb2ee308beb
parent5de1d3240f9163de95bc6803fb4100a77d65ab6b (diff)
lib: utils/timer: mtimer: add MIPS P8700 compatible
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 <[email protected]> Reviewed-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
-rw-r--r--lib/utils/timer/fdt_timer_mtimer.c1
1 files changed, 1 insertions, 0 deletions
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 },