diff mbox series

[OpenWrt-Devel] ath79: ar9330: add missing watchdog node

Message ID 20190717131954.16865-1-ynezz@true.cz
State Accepted
Delegated to: Daniel Golle
Headers show
Series [OpenWrt-Devel] ath79: ar9330: add missing watchdog node | expand

Commit Message

Petr Štetiar July 17, 2019, 1:19 p.m. UTC
It was reported in FS#2385, that Carambola2 doesn't currently have
working watchdog so fix it by adding watchdog node.

Ref: FS#2385
Signed-off-by: Petr Štetiar <ynezz@true.cz>
---
 target/linux/ath79/dts/ar9330.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff mbox series

Patch

diff --git a/target/linux/ath79/dts/ar9330.dtsi b/target/linux/ath79/dts/ar9330.dtsi
index 603b16581ce8..64c135405b97 100644
--- a/target/linux/ath79/dts/ar9330.dtsi
+++ b/target/linux/ath79/dts/ar9330.dtsi
@@ -86,6 +86,16 @@ 
 				#clock-cells = <1>;
 			};
 
+			wdt: wdt@18060008 {
+				compatible = "qca,ar7130-wdt";
+				reg = <0x18060008 0x8>;
+
+				interrupts = <4>;
+
+				clocks = <&pll ATH79_CLK_AHB>;
+				clock-names = "wdt";
+			};
+
 			rst: reset-controller@1806001c {
 				compatible = "qca,ar7100-reset";
 				reg = <0x1806001c 0x4>;