Add rockchip-timer for RK356X
Subsystems (3)
cover Add rockchip-timer for RK356X
From: Chris Morgan <[email protected]>
Add the rockchip-timer to the RK356x SoC. The timer for the RK356x is register compatible with the rk3288. Address range taken from BSP device tree and confirmed with rk3568 technical reference manual.
Resending since I left a few key people off, sorry about that.
Chris Morgan (2):
dt-bindings: timer: rockchip: Add rk3568 compatible
arm64: dts: rockchip: Add timer node for rk356x
.../devicetree/bindings/timer/rockchip,rk-timer.yaml | 1 + arch/arm64/boot/dts/rockchip/rk356x-base.dtsi | 8 ++++++++ 2 files changed, 9 insertions(+)
Signature · 1 line
2.53.0
PATCH 1/2 dt-bindings: timer: rockchip: Add rk3568 compatible
From: Chris Morgan <[email protected]>
Add compatible string for Rockchip RK3568 timer.
--- Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml +1 -0
@@ -24,6 +24,7 @@ properties: - rockchip,rk3228-timer - rockchip,rk3229-timer - rockchip,rk3368-timer + - rockchip,rk3568-timer - rockchip,rk3576-timer - rockchip,rk3588-timer - rockchip,px30-timer
Signature · 1 line
2.53.0
Re: [PATCH 1/2] dt-bindings: timer: rockchip: Add rk3568 compatible
Quoted 8 lines · Chris Morgan
From: Chris Morgan <[email protected]>
Add compatible string for Rockchip RK3568 timer.
Signed-off-by Chris Morgan <[email protected]>--- Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml | 1 + 1 file changed, 1 insertion(+)
Best regards,
Krzysztof
Heiko Stuebner
maintainerRe: [PATCH 1/2] dt-bindings: timer: rockchip: Add rk3568 compatible
In reply to Chris MorganHi Chris,
Am Dienstag, 3. November 2026, 20:23:30 Mitteleuropäische Normalzeit schrieb Chris Morgan:
Quoted 5 lines
From: Chris Morgan <[email protected]>
Add compatible string for Rockchip RK3568 timer.
Signed-off-by Chris Morgan <[email protected]>
can you ideally send this one separately to the clocksource people, so that is maybe is clearer that this patch should go through the clocksource driver tree?
Heiko
Quoted 17 lines
--- Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml +1
-0@@ -24,6 +24,7 @@ properties: - rockchip,rk3228-timer - rockchip,rk3229-timer - rockchip,rk3368-timer + - rockchip,rk3568-timer - rockchip,rk3576-timer - rockchip,rk3588-timer - rockchip,px30-timer
PATCH 2/2 arm64: dts: rockchip: Add timer node for rk356x
In reply to Chris MorganFrom: Chris Morgan <[email protected]>
Add the timer node for the rk356x. The timer is present at the SoC level and is register compatible with the rk3288 timer.
--- arch/arm64/boot/dts/rockchip/rk356x-base.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/rockchip/rk356x-base.dtsi +8 -0
@@ -1373,6 +1373,14 @@ i2c5: i2c@fe5e0000 { status = "disabled"; }; + timer0: timer@fe5f0000 { + compatible = "rockchip,rk3568-timer", "rockchip,rk3288-timer"; + reg = <0x0 0xfe5f0000 0x0 0x1000>; + interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cru PCLK_TIMER>, <&cru CLK_TIMER0>; + clock-names = "pclk", "timer"; + }; + wdt: watchdog@fe600000 { compatible = "rockchip,rk3568-wdt", "snps,dw-wdt"; reg = <0x0 0xfe600000 0x0 0x100>;
Signature · 1 line
2.53.0