diff options
| author | Icenowy Zheng <[email protected]> | 2022-12-12 16:22:36 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2022-12-17 11:01:00 +0530 |
| commit | a8ee82cd8c008f09c91b5c307de4c9b37660ff71 (patch) | |
| tree | 3e7f2e3026333fe8e1bd7ef37481de30946edcdd /lib/utils | |
| parent | 9a2eeb4aaeac9102a7db3676035d83394784c88b (diff) | |
lib: utils/ipi: mswi: add T-Head C9xx CLINT compatible
Althoug the MTIMER part of a C9xx CLINT differs from a SiFive one, the
MSWI part is compliant.
Add T-Head C9xx CLINT compatible string to fdt_ipi_mswi code, sharing
the same codepath with SiFive CLINT.
Signed-off-by: Icenowy Zheng <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils')
| -rw-r--r-- | lib/utils/ipi/fdt_ipi_mswi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/ipi/fdt_ipi_mswi.c b/lib/utils/ipi/fdt_ipi_mswi.c index 0176941a..4dc91f2c 100644 --- a/lib/utils/ipi/fdt_ipi_mswi.c +++ b/lib/utils/ipi/fdt_ipi_mswi.c @@ -56,6 +56,7 @@ static const unsigned long clint_offset = CLINT_MSWI_OFFSET; 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 = "riscv,aclint-mswi" }, { }, }; |
