mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
31 lines
946 B
Diff
31 lines
946 B
Diff
From 50b0dbf203d321257a6422ec51052dc2ed775bfc Mon Sep 17 00:00:00 2001
|
|
From: Robert Marko <robimarko@gmail.com>
|
|
Date: Thu, 20 Aug 2020 15:51:18 +0200
|
|
Subject: [PATCH] arm64: dts: ipq8074: add watchdog support
|
|
|
|
IPQ8074 has a secure version of KPSS watchdog that is already supported.
|
|
So lets add the node to enable it.
|
|
|
|
Signed-off-by: Robert Marko <robimarko@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/qcom/ipq8074.dtsi | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
|
@@ -323,6 +323,14 @@
|
|
reg = <0x0b000000 0x1000>, <0x0b002000 0x1000>;
|
|
};
|
|
|
|
+ watchdog@b017000 {
|
|
+ compatible = "qcom,kpss-wdt";
|
|
+ interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
|
|
+ reg = <0x0b017000 0x40>;
|
|
+ clocks = <&sleep_clk>;
|
|
+ timeout-sec = <10>;
|
|
+ };
|
|
+
|
|
timer {
|
|
compatible = "arm,armv8-timer";
|
|
interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|