diff mbox series

[v2,2/2] arm64: dts: qcom: ipq5018: add WDT

Message ID 20230816161455.3310629-2-robimarko@gmail.com (mailing list archive)
State Accepted
Headers show
Series [v2,1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 | expand

Commit Message

Robert Marko Aug. 16, 2023, 4:14 p.m. UTC
Add the required DT node for WDT operation.

Signed-off-by: Robert Marko <robimarko@gmail.com>
---
Changes in v2:
* Put the reg property as second in node
---
 arch/arm64/boot/dts/qcom/ipq5018.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Konrad Dybcio Aug. 16, 2023, 7:47 p.m. UTC | #1
On 16.08.2023 18:14, Robert Marko wrote:
> Add the required DT node for WDT operation.
> 
> Signed-off-by: Robert Marko <robimarko@gmail.com>
> ---
> Changes in v2:
> * Put the reg property as second in node
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
index 3285c86824cf..b3fa7911788c 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
@@ -182,6 +182,13 @@  v2m1: v2m@1000 {
 			};
 		};
 
+		watchdog: watchdog@b017000 {
+			compatible = "qcom,apss-wdt-ipq5018", "qcom,kpss-wdt";
+			reg = <0x0b017000 0x40>;
+			interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
+			clocks = <&sleep_clk>;
+		};
+
 		timer@b120000 {
 			compatible = "arm,armv7-timer-mem";
 			reg = <0x0b120000 0x1000>;