mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
riscv: dts: allwinner: d1s-t113: add hstimer node
Describe high speed timer block on Allwinner D1S-T113. Tested on LCPI-PC-T113/F113: - hstimer is registered as clocksource - switching clocksource at runtime works - after rating increase hstimer operates as a broadcast clockevent device Signed-off-by: Michal Piekos <michal.piekos@mmpsystems.pl> Reviewed-by: Chen-Yu Tsai <wens@kernel.org> Link: https://patch.msgid.link/20260506-h616-t113s-hstimer-v4-3-591d425863d6@mmpsystems.pl [wens@kernel.org: change subject prefix from "arm" to "riscv"] [wens@kernel.org: fix interrupt representation] Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
This commit is contained in:
parent
402e845f9d
commit
003ff31226
|
|
@ -295,6 +295,15 @@ timer: timer@2050000 {
|
|||
clocks = <&dcxo>;
|
||||
};
|
||||
|
||||
hstimer@3008000 {
|
||||
compatible = "allwinner,sun20i-d1-hstimer";
|
||||
reg = <0x03008000 0x1000>;
|
||||
interrupts = <SOC_PERIPHERAL_IRQ(55) IRQ_TYPE_LEVEL_HIGH>,
|
||||
<SOC_PERIPHERAL_IRQ(56) IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&ccu CLK_BUS_HSTIMER>;
|
||||
resets = <&ccu RST_BUS_HSTIMER>;
|
||||
};
|
||||
|
||||
wdt: watchdog@20500a0 {
|
||||
compatible = "allwinner,sun20i-d1-wdt-reset",
|
||||
"allwinner,sun20i-d1-wdt";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user