diff options
| author | Michal Piekos <michal.piekos@mmpsystems.pl> | 2026-05-06 17:10:29 +0200 |
|---|---|---|
| committer | Chen-Yu Tsai <wens@kernel.org> | 2026-05-11 13:42:21 +0800 |
| commit | 2d2c7e532ec325240068ac8d53d94cc0133c06f6 (patch) | |
| tree | e9eb0372971fbf8edf44ca21862155a91925ca0a | |
| parent | 003ff312269cc9defdd6b12462b1e89f4c9423d7 (diff) | |
| download | linux-2d2c7e532ec325240068ac8d53d94cc0133c06f6.tar.gz linux-2d2c7e532ec325240068ac8d53d94cc0133c06f6.zip | |
arm64: dts: allwinner: h616: add hstimer node
Describe high speed timer block on Allwinner H616.
Tested on Orange Pi Zero 3:
- 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-4-591d425863d6@mmpsystems.pl
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
| -rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi index b116d3c12881..1598e86259ab 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi @@ -263,6 +263,16 @@ clocks = <&osc24M>; }; + hstimer@3005000 { + compatible = "allwinner,sun50i-h616-hstimer", + "allwinner,sun20i-d1-hstimer"; + reg = <0x03005000 0x1000>; + interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&ccu CLK_BUS_HSTIMER>; + resets = <&ccu RST_BUS_HSTIMER>; + }; + watchdog: watchdog@30090a0 { compatible = "allwinner,sun50i-h616-wdt", "allwinner,sun6i-a31-wdt"; |
