ARM: dts: qcom: msm8974: Add watchdog node
authorMatti Lehtimäki <matti.lehtimaki@gmail.com>
Wed, 11 Oct 2023 16:33:15 +0000 (18:33 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sun, 3 Dec 2023 01:19:53 +0000 (17:19 -0800)
Add watchdog for MSM8974 platform.

Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231011-msm8226-msm8974-watchdog-v1-3-2c472818fbce@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/qcom-msm8974.dtsi

index b3a0a71c6369a117c8fa9ea792b1bf195386462e..f7d7e5d70f30f61fe942fd9e07cebb19a43fdc3c 100644 (file)
                        reg = <0xf9011000 0x1000>;
                };
 
+               watchdog@f9017000 {
+                       compatible = "qcom,apss-wdt-msm8974", "qcom,kpss-wdt";
+                       reg = <0xf9017000 0x1000>;
+                       interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>,
+                                    <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>;
+                       clocks = <&sleep_clk>;
+               };
+
                timer@f9020000 {
                        #address-cells = <1>;
                        #size-cells = <1>;