lib: Add mtimer and mswi support for BM1690 AP and TP

mswi and mtimer' address of bm1690 ap and tp is not contiguous,
so make them separately.

Signed-off-by: Xiaoguang Xing <xiaoguang.xing@sophgo.com>
This commit is contained in:
Xiaoguang Xing
2024-01-18 11:26:56 +08:00
parent 7225632021
commit e285bad3c3
2 changed files with 3 additions and 0 deletions

View File

@@ -156,6 +156,8 @@ static const struct fdt_match timer_mtimer_match[] = {
{ .compatible = "riscv,clint0", .data = &sifive_clint_quirks },
{ .compatible = "sifive,clint0", .data = &sifive_clint_quirks },
{ .compatible = "thead,c900-clint", .data = &thead_clint_quirks },
{ .compatible = "thead,c900-clint-mtimer",
.data = &thead_clint_quirks },
{ .compatible = "thead,c900-aclint-mtimer",
.data = &thead_aclint_quirks },
{ .compatible = "riscv,aclint-mtimer" },