diff --git a/lib/utils/ipi/fdt_ipi_mswi.c b/lib/utils/ipi/fdt_ipi_mswi.c index 10989178..1bce6dc2 100644 --- a/lib/utils/ipi/fdt_ipi_mswi.c +++ b/lib/utils/ipi/fdt_ipi_mswi.c @@ -57,6 +57,7 @@ static const struct fdt_match ipi_mswi_match[] = { { .compatible = "riscv,clint0", .data = &clint_offset }, { .compatible = "sifive,clint0", .data = &clint_offset }, { .compatible = "thead,c900-clint", .data = &clint_offset }, + { .compatible = "sophgo,sg2042-clint-mswi", .data = &clint_offset }, { .compatible = "thead,c900-clint-mswi", .data = &clint_offset }, { .compatible = "riscv,aclint-mswi" }, { }, diff --git a/lib/utils/timer/fdt_timer_mtimer.c b/lib/utils/timer/fdt_timer_mtimer.c index 69b27507..df355351 100644 --- a/lib/utils/timer/fdt_timer_mtimer.c +++ b/lib/utils/timer/fdt_timer_mtimer.c @@ -143,6 +143,8 @@ static const struct fdt_match timer_mtimer_match[] = { { .compatible = "thead,c900-clint", .data = &thead_clint_quirks }, { .compatible = "thead,c900-clint-mtimer", .data = &thead_clint_sep_quirks }, + { .compatible = "sophgo,sg2042-clint-mtimer", + .data = &thead_clint_sep_quirks }, { .compatible = "riscv,aclint-mtimer" }, { }, };