arm64: dts: rockchip: Add rk3588 timer
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Wed, 19 Apr 2023 18:13:09 +0000 (21:13 +0300)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 7 May 2023 21:47:30 +0000 (23:47 +0200)
Add DT node for Rockchip RK3588/RK3588S SoC timer.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20230419181309.338354-4-cristian.ciocaltea@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588s.dtsi

index 63fbf66..944fbe0 100644 (file)
                status = "disabled";
        };
 
+       timer0: timer@feae0000 {
+               compatible = "rockchip,rk3588-timer", "rockchip,rk3288-timer";
+               reg = <0x0 0xfeae0000 0x0 0x20>;
+               interrupts = <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH 0>;
+               clocks = <&cru PCLK_BUSTIMER0>, <&cru CLK_BUSTIMER0>;
+               clock-names = "pclk", "timer";
+       };
+
        wdt: watchdog@feaf0000 {
                compatible = "rockchip,rk3588-wdt", "snps,dw-wdt";
                reg = <0x0 0xfeaf0000 0x0 0x100>;