[v2] ARM: dts: qcom: msm8226: Add watchdog node

Message ID 20240214-msm8226-msm8974-watchdog-v2-1-a6b2f27a7e28@z3ntu.xyz
State New
Headers
Series [v2] ARM: dts: qcom: msm8226: Add watchdog node |

Commit Message

Luca Weiss Feb. 14, 2024, 9:46 p.m. UTC
  From: Matti Lehtimäki <matti.lehtimaki@gmail.com>

Add watchdog for MSM8226 platform.

Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
Changes in v2:
- Rebase on qcom for-next
- Pick up tags
- Link to v1: https://lore.kernel.org/r/20231011-msm8226-msm8974-watchdog-v1-0-2c472818fbce@z3ntu.xyz
---
 arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)


---
base-commit: 2b3f57690f30a70ea87aab7169388956fd1932db
change-id: 20231011-msm8226-msm8974-watchdog-a88e45f4e2a4

Best regards,
  

Comments

Bjorn Andersson Feb. 16, 2024, 11:10 p.m. UTC | #1
On Wed, 14 Feb 2024 22:46:28 +0100, Luca Weiss wrote:
> Add watchdog for MSM8226 platform.
> 
> 

Applied, thanks!

[1/1] ARM: dts: qcom: msm8226: Add watchdog node
      commit: 9e9c906ede3b7dcf7bf7df61ac712613c7d6c2da

Best regards,
  

Patch

diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi
index 8fae6058bf58..270973e85625 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi
@@ -241,6 +241,14 @@  saw_l2: power-manager@f9012000 {
 			reg = <0xf9012000 0x1000>;
 		};
 
+		watchdog@f9017000 {
+			compatible = "qcom,apss-wdt-msm8226", "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 {
 			compatible = "arm,armv7-timer-mem";
 			reg = <0xf9020000 0x1000>;