diff options
| author | Jimmy Ho <[email protected]> | 2025-10-13 10:24:25 +0800 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2025-10-28 19:15:10 +0800 |
| commit | 157938a220cf14a43dd380b6108b231cfd2e8d47 (patch) | |
| tree | 6058bb5fe8fc87227488bca2eadcbaeca464dfdf /drivers/timer | |
| parent | 23987e10905146def3ab61e55ec912c6e742efdc (diff) | |
timer: sifive_clint: Add GHRTv2 compaible string
The current sifive_clint driver can fully support GHRTv2 clint.
Add the compatible of GHRTv2 clint, sifive,clint2, to sifive_clint_ids
list.
Signed-off-by: Vincent Chen <[email protected]>
Signed-off-by: Wayling Chen <[email protected]>
Signed-off-by: Max Hsu <[email protected]>
Signed-off-by: Jimmy Ho <[email protected]>
Diffstat (limited to 'drivers/timer')
| -rw-r--r-- | drivers/timer/riscv_aclint_timer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/timer/riscv_aclint_timer.c b/drivers/timer/riscv_aclint_timer.c index 35da1ea2fd2..175956bcfd3 100644 --- a/drivers/timer/riscv_aclint_timer.c +++ b/drivers/timer/riscv_aclint_timer.c @@ -83,6 +83,7 @@ static int riscv_aclint_timer_probe(struct udevice *dev) static const struct udevice_id riscv_aclint_timer_ids[] = { { .compatible = "riscv,clint0", .data = CLINT_MTIME_OFFSET }, { .compatible = "sifive,clint0", .data = CLINT_MTIME_OFFSET }, + { .compatible = "sifive,clint2", .data = CLINT_MTIME_OFFSET }, { .compatible = "riscv,aclint-mtimer", .data = ACLINT_MTIME_OFFSET }, { } }; |
