arm64: dts: rockchip: Enable watchdog support for RK3588
authorShreeya Patel <shreeya.patel@collabora.com>
Tue, 28 Mar 2023 21:00:47 +0000 (02:30 +0530)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 30 Mar 2023 11:21:28 +0000 (13:21 +0200)
Add DT node for watchdog support in RK3588.

Signed-off-by: Shreeya Patel <shreeya.patel@collabora.com>
Link: https://lore.kernel.org/r/20230328210048.195124-2-shreeya.patel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588s.dtsi

index fca8503..4bd8697 100644 (file)
                status = "disabled";
        };
 
+       wdt: watchdog@feaf0000 {
+               compatible = "rockchip,rk3588-wdt", "snps,dw-wdt";
+               reg = <0x0 0xfeaf0000 0x0 0x100>;
+               clocks = <&cru TCLK_WDT0>, <&cru PCLK_WDT0>;
+               clock-names = "tclk", "pclk";
+               interrupts = <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH 0>;
+       };
+
        spi0: spi@feb00000 {
                compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi";
                reg = <0x0 0xfeb00000 0x0 0x1000>;